woocommerce_reports_charts
Usage
add_filter( 'woocommerce_reports_charts', 'wp_kama_woocommerce_reports_charts_filter' ); /** * Function for `woocommerce_reports_charts` filter-hook. * * @param $reports * * @return */ function wp_kama_woocommerce_reports_charts_filter( $reports ){ // filter... return $reports; }
- $reports
- -
Where the hook is called
woocommerce_reports_charts
woocommerce/includes/admin/class-wc-admin-reports.php 144
$reports = apply_filters( 'woocommerce_reports_charts', $reports ); // Backwards compatibility.