experimental_woocommerce_analytics_variations_stats_collection_params

experimental_woocommerce_analytics_variations_stats_collection_params

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('experimental_woocommerce_analytics_variations_stats_collection_params') is found 1 times:

  • /src/Admin/API/Reports/Variations/Stats/Controller.php line 83
    		 * @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 {