WordPress at Your Fingertips
filter is not described

woocommerce_rest_api_option_permissions filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_rest_api_option_permissions', 'filter_function_name_4720', 10, 2 );
function filter_function_name_4720( $permissions, $request ){
	// filter...

	return $permissions;
}
$permissions
-
$request
-

Where the hook is called

Options::get_option_permissions()
woocommerce_rest_api_option_permissions
woocommerce/packages/woocommerce-admin/src/API/Options.php 143
return apply_filters( 'woocommerce_rest_api_option_permissions', $permissions, $request );

Where in WP core the hook is used WooCommerce

Usage not found.