WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin\API

NavigationFavorites::delete_item_permissions_check() public WC 1.0

Check whether a given request has permission to delete notes.

{} It's a method of the class: NavigationFavorites{}

No Hooks.

Return

WP_Error|true|false.

Usage

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

Code of NavigationFavorites::delete_item_permissions_check() WC 6.1.1

public function delete_item_permissions_check( $request ) {
	return current_user_can( 'edit_users' );
}