WP_REST_Posts_Controller::update_item_permissions_check

SummerySummery

Checks if a given request has access to update a post.

Syntax

WP_REST_Posts_Controller::update_item_permissions_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 access to update the item, WP_Error object otherwise.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top