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.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: woocommerce/packages/woocommerce-blocks/src/RestApi/Controllers/Products.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.