WC_Helper_Orders_API::get_permission()public staticWC 1.0

The Extensions page can only be accessed by users with the manage_woocommerce capability. So the API mimics that behavior.

Method of the class: WC_Helper_Orders_API{}

No Hooks.

Return

true|false.

Usage

$result = WC_Helper_Orders_API::get_permission();

WC_Helper_Orders_API::get_permission() code WC 9.5.1

public static function get_permission() {
	return WC_Helper_Subscriptions_API::get_permission();
}