WC_Webhook::get_delivery_log()
Deprecated from version 3.3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Get the delivery log specified by the ID. The delivery log includes:
- duration
- summary
- request method/url
- request headers/body
- response code/message/headers/body
Method of the class: WC_Webhook{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Webhook = new WC_Webhook(); $WC_Webhook->get_delivery_log( $delivery_id );
- $delivery_id(int) (required)
- Delivery ID.
Changelog
Since 2.2 | Introduced. |
Deprecated since | 3.3.0 |
WC_Webhook::get_delivery_log() WC Webhook::get delivery log code WC 9.8.2
public function get_delivery_log( $delivery_id ) { wc_deprecated_function( 'WC_Webhook::get_delivery_log', '3.3' ); }