woocommerce_reports_get_order_report_data

woocommerce_reports_get_order_report_data

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_reports_get_order_report_data') is found 2 times:

  • /includes/admin/reports/class-wc-admin-report.php line 361
     
    		if ( $debug || $nocache ) {
    			self::enable_big_selects();
    
    			$result = apply_filters( 'woocommerce_reports_get_order_report_data', $wpdb->$query_type( $query ), $data );
    		} else {
    			$query_hash = md5( $query_type . $query );
    			$result     = $this->get_cached_query( $query_hash );
    			if ( null === $result ) {
    				self::enable_big_selects();
    
    
  • /includes/admin/reports/class-wc-admin-report.php line 368
    			$result     = $this->get_cached_query( $query_hash );
    			if ( null === $result ) {
    				self::enable_big_selects();
    
    				$result = apply_filters( 'woocommerce_reports_get_order_report_data', $wpdb->$query_type( $query ), $data );
    			}
    			$this->set_cached_query( $query_hash, $result );
    		}
    
    		return $result;
    	}