WC_REST_Webhooks_V1_Controller::prepare_item_for_response( int $id, WP_REST_Request $request )

Prepare a single webhook output for response.


Description Description


Parameters Parameters

$id

(Required) Webhook ID or object.

$request

(Required) Request object.


Top ↑

Return Return

(WP_REST_Response) $response Response data.


Top ↑

Source Source

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


			


Top ↑

User Contributed Notes User Contributed Notes

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