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

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() code WC 8.7.0

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