Automattic\WooCommerce\Admin\API

NavigationFavorites::current_user_permissions_check()publicWC 1.0

Always allow for operations that only impact current user

Method of the class: NavigationFavorites{}

No Hooks.

Return

WP_Error|true|false.

Usage

$NavigationFavorites = new NavigationFavorites();
$NavigationFavorites->current_user_permissions_check( $request );
$request(WP_REST_Request) (required)
Full details about the request.

NavigationFavorites::current_user_permissions_check() code WC 8.7.0

public function current_user_permissions_check( $request ) {
	return true;
}