Thread Starter
ip027
(@ip027)
it works! to get the metadata in a letter, you must first save the meta data and then publish the post. It seems that when you publish a post function to send a letter (subscribe2) is called before the insert function of meta data.
MattyRob, Thanks for your help!
Thread Starter
ip027
(@ip027)
tried, with this design started. $sent is empty.
But if write
$sent = get_post_meta($post->ID, 's2mail', true);
it’s work: $sent = ‘yes’ or ‘no’
updating to 1.9.8 – its works