WP_REST_Posts_Controller::check_assign_terms_permission

SummerySummery

Checks whether current user can assign all terms sent with the current request.

Syntax

WP_REST_Posts_Controller::check_assign_terms_permission( WP_REST_Request $request )

ParametersParameters

$request

(WP_REST_Request) (Required) The request object with post and terms data.

ReturnReturn

(bool) Whether the current user can assign the provided terms.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top