woocommerce_rest_prepare_reports_import

woocommerce_rest_prepare_reports_import

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_rest_prepare_reports_import') is found 1 times:

  • /src/Admin/API/Reports/Import/Controller.php line 171
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
         * @param WP_REST_Response $response The response object.
         * @param array            $item     The original item.
         * @param WP_REST_Request  $request  Request used to generate the response.
         */
        return apply_filters( 'woocommerce_rest_prepare_reports_import', $response, $item, $request );
    }
     
    /**
     * Get the query params for collections.
     *
     * @return array