wp_after_insert_post, $post_id, $post, $update, $post_before

wp_after_insert_post, $post_id, $post, $update, $post_before

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('wp_after_insert_post, $post_id, $post, $update, $post_before') is found 1 times:

  • /wp-includes/post.php line 5916
    	 * @param bool         $update      Whether this is an existing post being updated.
    	 * @param null|WP_Post $post_before Null for new posts, the WP_Post object prior
    	 *                                  to the update for updated posts.
    	 */
    	do_action( 'wp_after_insert_post', $post_id, $post, $update, $post_before );
    }
    
    //
    // Comment, trackback, and pingback functions.
    //