collection_filter_query_param_keys
collection_filter_query_param_keys
Appears in: woocommerce.8.5.1, woocommerce.8.5.2, woocommerce.8.6.0, woocommerce.8.6.1, woocommerce.8.7.0, woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3
Hook Type: filter
See hook in action
Displaying hooks found in version: woocommerce.9.2.3apply_filters('collection_filter_query_param_keys') is found 1 times:
- /src/Blocks/BlockTypes/ProductFilterActive.php line 226
* @param array $url_param_keys The query param parsed from the URL. * * @return array Active filters params. */ $filter_param_keys = array_unique( apply_filters( 'collection_filter_query_param_keys', array(), array_keys( $url_query_params ) ) ); return array_filter( $url_query_params, function ( $key ) use ( $filter_param_keys ) { return in_array( $key, $filter_param_keys, true ); },