woocommerce_rest_prepare_report_top_sellers

woocommerce_rest_prepare_report_top_sellers

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_rest_prepare_report_top_sellers') is found 1 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php line 137
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
         * @param WP_REST_Response $response   The response object.
         * @param stdClass         $top_seller The original report object.
         * @param WP_REST_Request  $request    Request used to generate the response.
         */
        return apply_filters( 'woocommerce_rest_prepare_report_top_sellers', $response, $top_seller, $request );
    }
     
    /**
     * Get the Report's schema, conforming to JSON Schema.
     *
     * @return array