post_updated, $post_id, $post_after, $post_before

post_updated, $post_id, $post_after, $post_before

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('post_updated, $post_id, $post_after, $post_before') is found 1 times:

  • /wp-includes/post.php line 5162
    		 * @param int     $post_id      Post ID.
    		 * @param WP_Post $post_after   Post object following the update.
    		 * @param WP_Post $post_before  Post object before the update.
    		 */
    		do_action( 'post_updated', $post_id, $post_after, $post_before );
    	}
    
    	/**
    	 * Fires once a post has been saved.
    	 *
    	 * The dynamic portion of the hook name, `$post->post_type`, refers to