woocommerce_check_rest_ability_permissions_for_method

woocommerce_check_rest_ability_permissions_for_method

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.3.4

apply_filters('woocommerce_check_rest_ability_permissions_for_method') is found 1 times:

  • /src/Internal/Abilities/REST/RestAbilityFactory.php line 341

    Warning: Undefined array key 343 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 344 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 345 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 346 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * @param bool   $allowed    Whether the operation is allowed. Default false.
    		 * @param string $method     HTTP method (GET, POST, PUT, DELETE).
    		 * @param object $controller REST controller instance.
    		 */
    		return apply_filters( 'woocommerce_check_rest_ability_permissions_for_method', false, $method, $controller );
    	}
    }