wc_rest_should_load_namespace
wc_rest_should_load_namespace
Appears in: woocommerce.10.0.4, woocommerce.10.1.2, woocommerce.9.4.2, woocommerce.9.4.3, woocommerce.9.5.1, woocommerce.9.5.2, woocommerce.9.7.0, woocommerce.9.7.1, woocommerce.9.8.1, woocommerce.9.8.5, woocommerce.9.9.5
Hook Type: filter
Displaying hooks found in version: woocommerce.9.9.5apply_filters('wc_rest_should_load_namespace') is found 1 times:
- /includes/wc-rest-functions.php line 435
Warning: Undefined array key 436 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
Warning: Undefined array key 437 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
Warning: Undefined array key 438 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
Warning: Undefined array key 439 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
Warning: Undefined array key 440 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
* @param array $known_namespaces Known namespaces that we know are safe to not load if the request is not for them. * * @since 9.4 */ return apply_filters( 'wc_rest_should_load_namespace', str_starts_with( $rest_route, $ns ), $ns, $rest_route, $known_namespaces ); }