woocommerce_rest_prepare_report_coupons_stats

woocommerce_rest_prepare_report_coupons_stats

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

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('woocommerce_rest_prepare_report_coupons_stats') is found 1 times:

  • /src/Admin/API/Reports/Coupons/Stats/Controller.php line 90
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
         * @param WP_REST_Response $response The response object.
         * @param object           $report   The original report object.
         * @param WP_REST_Request  $request  Request used to generate the response.
         */
        return apply_filters( 'woocommerce_rest_prepare_report_coupons_stats', $response, $report, $request );
    }
     
    /**
     * Get the Report's item properties schema.
     * Will be used by `get_item_schema` as `totals` and `subtotals`.
     *