The dynamic portion of the hook name, $post->post_type, refers to the post type slug. Possible hook names include: <ul> <li>save_post_post</li> <li>save_post_page</li> </ul>
5269* @since 3.7.05270*5271* @param int$post_id Post ID.5272* @param WP_Post$post Post object.5273* @param bool$update Whether this is an existing post being updated.5274*/5275do_action("save_post_{$post->post_type}",$post_id,$post,$update);52765277/**5278* Fires once a post has been saved.5279*5280* @since 1.5.05281*
History
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.