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/comment.php line 2899
    	 */
    	do_action( 'wp_update_comment_count', $post_id, $new, $old );
    
    	/** 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 );
    
    	return true;
    }
    
  • /wp-includes/post.php line 5139
    		 *
    		 * @param int     $post_id Post ID.
    		 * @param WP_Post $post    Post object.
    		 */
    		do_action( "edit_post_{$post->post_type}", $post_id, $post );
    
    		/**
    		 * Fires once an existing post has been updated.
    		 *
    		 * @since 1.2.0
    		 *