[wp-hackers] Publish post action - for Custom Post Types

Robert Lusby nanogwp at gmail.com
Tue Sep 20 12:19:24 UTC 2011


The "public_post" action only triggers when the "post" type is published 
(obviously).

You can also the action "publish_customposttype", to run when a custom 
post type is published.

However ....

Which action should you use to detect when ANY post type (post, page, 
custom) is published??

Thanks,
Rob


More information about the wp-hackers mailing list