WordPress at Your Fingertips
function is not described

WC_Webhook::set_delivery_url() public WC 2.2.0

Set the delivery URL.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Webhook = new WC_Webhook();
$WC_Webhook->set_delivery_url( $url );
$url(string) (required)
Delivery URL.

Changelog

Since 2.2.0 Introduced.

Code of WC_Webhook::set_delivery_url() WC 5.9.0

public function set_delivery_url( $url ) {
	$this->set_prop( 'delivery_url', esc_url_raw( $url, array( 'http', 'https' ) ) );
}