Insert post_meta into email notification message
I have a form to place bids. Each item has its own post and I have set a custom field on the posts so that I can insert [post_meta key="Item"] into a read-only form field so I know for which item the bid was submitted.
I want to send an email saying, “thank you for bidding on item [post_meta key="Item"], but post_meta doesn’t render in the email notification message. I have also tried putting the field ID which has the meta key in the message, “thank you for bidding on item ” but the message returns a 0 instead of the post_meta field value. (thank you for bidding on 0)
Is there any other way I can achieve my intended results of rendering the [post_meta key="Item"] in the email notification message the user receives when they submit their form?