experimental_woocommerce_analytics_variations_stats_collection_params

experimental_woocommerce_analytics_variations_stats_collection_params

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.6.7.0

apply_filters('experimental_woocommerce_analytics_variations_stats_collection_params') is found 1 times:

  • /src/Admin/API/Reports/Variations/Stats/Controller.php line 74
    		 * @ignore
    		 *
    		 * @param array $collection_params List of parameters.
    		 */
    		$collection_params = apply_filters( 'experimental_woocommerce_analytics_variations_stats_collection_params', $this->get_collection_params() );
    		$registered        = array_keys( $collection_params );
    		foreach ( $registered as $param_name ) {
    			if ( isset( $request[ $param_name ] ) ) {
    				if ( isset( $this->param_mapping[ $param_name ] ) ) {
    					$query_args[ $this->param_mapping[ $param_name ] ] = $request[ $param_name ];
    				} else {