edit_post_{$post->post_type}, $post->ID, $post

edit_post_{$post->post_type}, $post->ID, $post

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('edit_post_{$post->post_type}, $post->ID, $post') is found 2 times:

  • /wp-includes/class-wp-customize-manager.php line 3110
    		$post->post_status = $new_status;
    		wp_transition_post_status( $new_status, $previous_status, $post );
    
    		/** This action is documented in wp-includes/post.php */
    		do_action( "edit_post_{$post->post_type}", $post->ID, $post );
    
    		/** 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 );
    
  • /wp-includes/post.php line 5358
    	$post->post_status = 'publish';
    	wp_transition_post_status( 'publish', $old_status, $post );
    
    	/** This action is documented in wp-includes/post.php */
    	do_action( "edit_post_{$post->post_type}", $post->ID, $post );
    
    	/** 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 );