WP_REST_Revisions_Controller::prepare_items_query

SummerySummery

Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.

Syntax

WP_REST_Revisions_Controller::prepare_items_query( array $prepared_args = array(), WP_REST_Request $request = null )

ParametersParameters

$prepared_args

(array) (Optional) Prepared WP_Query arguments.

Default value: array()

$request

(WP_REST_Request) (Optional) Full details about the request.

Default value: null

ReturnReturn

(array) Items query arguments.

SourceSource

File: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php


			

ChangelogChangelog

Changelog
Version Description
5.0.0 Introduced.
Scroll to Top