Products::force_edit_posts_permission( bool $permission )
Change REST API permissions so that authors have access to this API.
Description Description
This code only runs for methods of this class. @see Products::get_items below.
Parameters Parameters
- $permission
-
(Required) Does the current user have access to the API.
Return Return
(bool)
Source Source
File: woocommerce/packages/woocommerce-blocks/src/RestApi/Controllers/Products.php