woocommerce_rest_prepare_report_coupons

woocommerce_rest_prepare_report_coupons

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_rest_prepare_report_coupons') is found 1 times:

  • /src/Admin/API/Reports/Coupons/Controller.php line 99
    		 * @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', $response, $report, $request );
    	}
    
    	/**
    	 * Prepare links for the request.
    	 *
    	 * @param WC_Reports_Query $object Object data.