Quote:
Originally Posted by jamestl2 Is it in the wp-admin/post.php file? |
Kind of. Post.php is where it calls the function, here:
Code:
if ($post_status == 'publish' && $post_type == 'post') {
do_action('publish_post', $post_ID); But it doesn't actually define the function there, it just calls it.