LLMS_REST_Posts_Controller::check_assign_terms_permission( WP_REST_Request $request )
Checks whether current user can assign all terms sent with the current request.
Description Description
Heavily based on WP_REST_Posts_Controller::check_assign_terms_permission().
Parameters Parameters
- $request
-
(Required) The request object with post and terms data.
Return Return
(bool) Whether the current user can assign the provided terms.
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.3 | Filter taxonomies by show_in_llms_rest property instead of public . |
1.0.0-beta.1 | Introduced. |