do_action( "save_post_{$post->post_type}", ... )

Fires once a post has been saved.

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