Post id in email body
-
Hi,
I know I yet asked for some help, but I still have the same problem:
My posts are displayed on the index, and I have a form in a modal for each post.
I’d like the post title to be sent in the mail body.I’ve tried with the function
function my_action_email_msg()
given, and also tried to modify it like this:if ( !in_array($form_id_num, $forms) && $all_forms != true) return $ ... $post_tit = get_the_title(); $post_title = str_replace(" ", "-", $post_tit); $cust_url = get_site_url(); $page_title = $cust_url. '/' .$post_title; $email_msg .= '<strong>Link to the post:</strong>' . $inline_or_newline . $page_title . $php_eol . $php_eol; return $email_msg;
But no way, still hace no result.
Somebody could help please?
Thank
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Post id in email body’ is closed to new replies.