WC_REST_Order_Refunds_V1_Controller::prepare_item_for_response( WP_Post $post, WP_REST_Request $request )

Prepare a single order refund output for response.


Description Description


Parameters Parameters

$post

(Required) Post object.

$request

(Required) Request object.


Top ↑

Return Return

(WP_Error|WP_REST_Response)


Top ↑

Source Source

File: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php




Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.