wp_delete_post_revision

wp_delete_post_revision

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

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('wp_delete_post_revision') is found 1 times:

  • /wp-includes/revision.php line 643
    		 *
    		 * @param int     $revision_id Post revision ID.
    		 * @param WP_Post $revision    Post revision object.
    		 */
    		do_action( 'wp_delete_post_revision', $revision->ID, $revision );
    	}
    
    	return $delete;
    }
    
    /**