WC_Webhook::get_delivery_log
Deprecated since 3.3.0. It is no longer supported and may 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.
Returns
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 10.6.2
public function get_delivery_log( $delivery_id ) {
wc_deprecated_function( 'WC_Webhook::get_delivery_log', '3.3' );
}