WC_Webhook::get_delivery_log()publicWC 2.2

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

{} It's a method of the class: WC_Webhook{}

No Hooks.

Return

null. Nothing.

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

Code of WC_Webhook::get_delivery_log() WC 6.8.2

public function get_delivery_log( $delivery_id ) {
	wc_deprecated_function( 'WC_Webhook::get_delivery_log', '3.3' );
}