save_post_{$post->post_type}

save_post_{$post->post_type}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('save_post_{$post->post_type}') is found 3 times:

  • /wp-includes/class-wp-customize-manager.php line 3109
    		/** This action is documented in wp-includes/post.php */
    		do_action( 'edit_post', $post->ID, $post );
    
    		/** This action is documented in wp-includes/post.php */
    		do_action( "save_post_{$post->post_type}", $post->ID, $post, true );
    
    		/** This action is documented in wp-includes/post.php */
    		do_action( 'save_post', $post->ID, $post, true );
    
    		/** This action is documented in wp-includes/post.php */
    		do_action( 'wp_insert_post', $post->ID, $post, true );
    
  • /wp-includes/post.php line 4749
    	 * @param int     $post_id Post ID.
    	 * @param WP_Post $post    Post object.
    	 * @param bool    $update  Whether this is an existing post being updated.
    	 */
    	do_action( "save_post_{$post->post_type}", $post_id, $post, $update );
    
    	/**
    	 * Fires once a post has been saved.
    	 *
    	 * @since 1.5.0
    	 *
    
  • /wp-includes/post.php line 4931
    	/** This action is documented in wp-includes/post.php */
    	do_action( 'edit_post', $post->ID, $post );
    
    	/** This action is documented in wp-includes/post.php */
    	do_action( "save_post_{$post->post_type}", $post->ID, $post, true );
    
    	/** This action is documented in wp-includes/post.php */
    	do_action( 'save_post', $post->ID, $post, true );
    
    	/** This action is documented in wp-includes/post.php */
    	do_action( 'wp_insert_post', $post->ID, $post, true );