#13001 closed enhancement (invalid)
Action Hook for change post status
Reported by: | Angeloverona | Owned by: | |
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | normal | Version: | 3.0 |
Component: | General | Keywords: | hook action pending |
Focuses: | Cc: |
Description
We have post_publish hook to action of publish, but it more as needed, also hooks for pending for example to handle action after the button "submit to review" is pressed. Or post is saved as a draft.
Change History (3)
Note: See
TracTickets for help on using
tickets.
I suggest you take a look at the
wp_transition_post_status()
function and associatedtransition_post_status
hook in wp-includes/post.php.This hook allows you to see the new status, the old status, and the post data.