rest_prepare_autosave

rest_prepare_autosave

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('rest_prepare_autosave') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php line 482
    		 * @param WP_REST_Response $response The response object.
    		 * @param WP_Post          $post     The original revision object.
    		 * @param WP_REST_Request  $request  Request used to generate the response.
    		 */
    		return apply_filters( 'rest_prepare_autosave', $response, $post, $request );
    	}
    
    	/**
    	 * Retrieves the query params for the autosaves collection.
    	 *
    	 * @since 5.0.0