how to get the post_id when write this plugin
-
add_action(‘comment_post’, ‘myfunc’);
how can I get the post_id of the post in myfunc??
thank you very much!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to get the post_id when write this plugin’ is closed to new replies.