WC_Webhook::get_pending_delivery()publicWC 3.2.0

Get pending delivery.

Method of the class: WC_Webhook{}

No Hooks.

Return

true|false.

Usage

$WC_Webhook = new WC_Webhook();
$WC_Webhook->get_pending_delivery( $context );
$context(string)
What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'

Changelog

Since 3.2.0 Introduced.

WC_Webhook::get_pending_delivery() code WC 8.6.1

public function get_pending_delivery( $context = 'view' ) {
	return $this->get_prop( 'pending_delivery', $context );
}