I have made some major updates to the Codex. Would someone like to double check my work? And is it reasonable to ask that in a post in this forum? I’m new-ish to WordPress development, and some of the changes relate to depreciated code that is older than my involvement with WordPress.
The changes all involve post status transitions.
Pretty major updates through here. Tried to make it clear that there are three kinds of post status transition action hooks. They are all called by the function
So, in fact, this action hook was not depreciated. I added an explanation why and an example of correct usage.
As above except with no example.
I updated the existing entries and added the missing action hooks.
(old status)_to_(new status)– Updated.
publish_post– Updated (not depreciated).
publish_page– Updated (not depreciated).
- The topic ‘Post status transitions: updating the Codex’ is closed to new replies.