Fires when a post is transitioned from one status to another.
$new_statusstring
$old_statusstring
$postWP_Post
do_action( 'transition_post_status', $new_status, $old_status, $post );
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/transition_post_status