do_action( 'wp_insert_post', ... )

Fires once a post has been saved.

Parameters:
  • $post_id int
  • $post WP_Post
  • $update bool