|wp-includes/post.php: wp_transition_post_status()|| |
Fires actions related to the transitioning of a post’s status.
Fires when a post is transitioned from one status to another.
The dynamic portions of the hook name,
$old status, refer to the old and new post statuses, respectively.
(WP_Post) Post object.
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.