woocommerce_api_report_response

woocommerce_api_report_response

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_report_response') is found 6 times:

  • /includes/legacy/api/v1/class-wc-api-reports.php line 355
    			'totals'            => $period_totals,
    			'total_customers'   => $total_customers,
    		);
    
    		return array( 'sales' => apply_filters( 'woocommerce_api_report_response', $sales_data, $this->report, $fields, $this->server ) );
    	}
    
    	/**
    	 * Get the top sellers report
    	 *
    	 * @since 2.1
    
  • /includes/legacy/api/v1/class-wc-api-reports.php line 413
    				'quantity'   => $top_seller->order_item_qty,
    			);
    		}
    
    		return array( 'top_sellers' => apply_filters( 'woocommerce_api_report_response', $top_sellers_data, $this->report, $fields, $this->server ) );
    	}
    
    	/**
    	 * Setup the report object and parse any date filtering
    	 *
    	 * @since 2.1
    
  • /includes/legacy/api/v2/class-wc-api-reports.php line 197
    			'totals'            => $period_totals,
    			'total_customers'   => $total_customers,
    		);
    
    		return array( 'sales' => apply_filters( 'woocommerce_api_report_response', $sales_data, $this->report, $fields, $this->server ) );
    	}
    
    	/**
    	 * Get the top sellers report
    	 *
    	 * @since 2.1
    
  • /includes/legacy/api/v2/class-wc-api-reports.php line 257
    				);
    			}
    		}
    
    		return array( 'top_sellers' => apply_filters( 'woocommerce_api_report_response', $top_sellers_data, $this->report, $fields, $this->server ) );
    	}
    
    	/**
    	 * Setup the report object and parse any date filtering
    	 *
    	 * @since 2.1
    
  • /includes/legacy/api/v3/class-wc-api-reports.php line 197
    			'totals'            => $period_totals,
    			'total_customers'   => $total_customers,
    		);
    
    		return array( 'sales' => apply_filters( 'woocommerce_api_report_response', $sales_data, $this->report, $fields, $this->server ) );
    	}
    
    	/**
    	 * Get the top sellers report
    	 *
    	 * @since 2.1
    
  • /includes/legacy/api/v3/class-wc-api-reports.php line 257
    				);
    			}
    		}
    
    		return array( 'top_sellers' => apply_filters( 'woocommerce_api_report_response', $top_sellers_data, $this->report, $fields, $this->server ) );
    	}
    
    	/**
    	 * Setup the report object and parse any date filtering
    	 *
    	 * @since 2.1
    

See this hook used in plugins: