WP_REST_Search_Controller::get_items_permission_check

SummerySummery

Checks if a given request has access to search content.

Syntax

WP_REST_Search_Controller::get_items_permission_check( WP_REST_Request $request )

ParametersParameters

$request

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

ReturnReturn

(true|WP_Error) True if the request has search access, WP_Error object otherwise.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
5.0.0 Introduced.
Scroll to Top