WordPress at Your Fingertips
function is not described

WC_Webhook::set_pending_delivery() public WC 3.2.0

Set pending delivery.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Webhook = new WC_Webhook();
$WC_Webhook->set_pending_delivery( $pending_delivery );
$pending_delivery(true|false) (required)
Set true if is pending for delivery.

Changelog

Since 3.2.0 Introduced.

Code of WC_Webhook::set_pending_delivery() WC 5.9.0

public function set_pending_delivery( $pending_delivery ) {
	$this->set_prop( 'pending_delivery', (bool) $pending_delivery );
}