_wp_put_post_revision

_wp_put_post_revision

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.5

do_action('_wp_put_post_revision') is found 1 times:

  • /wp-includes/revision.php line 395
    		 *
    		 * @param int $revision_id Post revision ID.
    		 * @param int $post_id     Post ID.
    		 */
    		do_action( '_wp_put_post_revision', $revision_id, $post['post_parent'] );
    	}
    
    	return $revision_id;
    }
    
    
    

See this hook used in plugins: