woocommerce_rest_prepare_report_coupons_count

woocommerce_rest_prepare_report_coupons_count

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_rest_prepare_report_coupons_count') is found 1 times:

  • /includes/rest-api/Controllers/Version3/class-wc-rest-report-coupons-totals-controller.php line 106
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
         * @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_count', $response, $report, $request );
    }
     
    /**
     * Get the Report's schema, conforming to JSON Schema.
     *
     * @return array