Bsf_Core_Rest::get_items_permissions_check( WP_REST_Request $request )
Check if a given request has access to activate license.
Description
Parameters
- $request
-
(WP_REST_Request) (Required) Full details about the request.
Return
(WP_Error|boolean)
Source
File: admin/bsf-core/classes/class-bsf-core-rest.php
public function get_items_permissions_check( $request ) { if ( current_user_can( 'manage_options' ) ) { return true; } return false; }
Expand full source code Collapse full source code View on Trac