WP_REST_Search_Controller::get_items

SummerySummery

Retrieves a collection of search results.

Syntax

WP_REST_Search_Controller::get_items( WP_REST_Request $request )

ParametersParameters

$request

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

ReturnReturn

(WP_REST_Response|WP_Error) Response object on success, or WP_Error object on failure.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
5.0.0 Introduced.
Scroll to Top