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