woocommerce_analytics_stock_stats_query

woocommerce_analytics_stock_stats_query

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_analytics_stock_stats_query') is found 1 times:

  • /src/Admin/API/Reports/Stock/Stats/Query.php line 27

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

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

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

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

    	 */
    	public function get_data() {
    		$data_store = \WC_Data_Store::load( 'report-stock-stats' );
    		$results    = $data_store->get_data();
    		return apply_filters( 'woocommerce_analytics_stock_stats_query', $results );
    	}
    }