woocommerce_analytics_categories_query_args

woocommerce_analytics_categories_query_args

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_analytics_categories_query_args') is found 1 times:

  • /src/Admin/API/Reports/Categories/Query.php line 55

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

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

    	 */
    	public function get_data() {
    		wc_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '9.3.0', '`GenericQuery`, `\WC_Object_Query`, or direct `DataStore` use' );
    
    		$args    = apply_filters( 'woocommerce_analytics_categories_query_args', $this->get_query_vars() );
    		$results = \WC_Data_Store::load( self::REPORT_NAME )->get_data( $args );
    		return apply_filters( 'woocommerce_analytics_categories_select_query', $results, $args );
    	}
    }