add_action, where are the hooks?
-
I am somewhat new to the plugin scene and I hit a brick wall in my learning curve.
I have been trying to modify a plugin to work for my client’s specific requirements. So I came across these action hooks (I believe that’s what they are called):
new_to_publish
draft_to_publish
pending_to_publish
etc… etc…All my attempts to find out more about them failed. I have been looking everywhere on this site, even googled them and scanned the WordPress code etc. all to no avail.
In forums everybody seems to know about them, except I can’t find any documentation about any of them, anywhere. The only thing I found is developers talking about them as if it was common knowledge. huh?
Where does this information come from in the first place? What am I missing here?
Any help would be highly appreciated.
- The topic ‘add_action, where are the hooks?’ is closed to new replies.