{$old_status}_to_{$new_status}, $post
{$old_status}_to_{$new_status}, $post
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('{$old_status}_to_{$new_status}, $post') is found 1 times:
- /wp-includes/post.php line 5843
* @since 2.3.0 * * @param WP_Post $post Post object. */ do_action( "{$old_status}_to_{$new_status}", $post ); /** * Fires when a post is transitioned from one status to another. * * The dynamic portions of the hook name, `$new_status` and `$post->post_type`, * refer to the new post status and post type, respectively.