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>
5177* @since 3.7.05178*5179* @param int$post_id Post ID.5180* @param WP_Post$post Post object.5181* @param bool$update Whether this is an existing post being updated.5182*/5183do_action("save_post_{$post->post_type}",$post_id,$post,$update);51845185/**5186* Fires once a post has been saved.5187*5188* @since 1.5.05189*
History
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.