Is it fired after a post has been published?
Say I have a CPT and want to perform some automated actions based on the post that gets saved, can I do:
add_action('publish_myt_cpt', 'myfunction');
|
Is it fired after a post has been published? Say I have a CPT and want to perform some automated actions based on the post that gets saved, can I do:
|
|||
|
|
|
It is fired in wp-includes/post.php: line 3014-3027
|
|||||||||
|