Fires once a post, its terms and meta data has been saved.
$post_idint$postWP_Post$updatebool$post_beforenull|WP_Postwp-includes/post.php:5781wp_after_insert_post() * @param int $post_id Post ID. * @param WP_Post $post Post object. * @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.//Introduced in 5.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.