Content of the comment parent in email notification
-
How do I get the content of the comment parent in the function wpc_email_sender() ?
I want the email shows the initial question and then the answer.
I trying this:
$comment = get_comment($wpc_new_comment_id);
$parent_comment_id = $comment->comment_parent;
$parent_comment_content = get_comment($parent_comment_id, 'comment_content');
but not working.
https://www.ads-software.com/plugins/woodiscuz-woocommerce-comments/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Content of the comment parent in email notification’ is closed to new replies.