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.1.1

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

  • /wp-includes/class-wp-customize-manager.php line 3105
    		/** 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 4706
    	 * @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 4888
    	/** 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 );