WC_Webhook::set_delivery_url
Set the delivery URL.
Method of the class: WC_Webhook{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Webhook = new WC_Webhook(); $WC_Webhook->set_delivery_url( $url );
- $url(string) (required)
- Delivery URL.
Changelog
| Since 2.2.0 | Introduced. |
WC_Webhook::set_delivery_url() WC Webhook::set delivery url code WC 10.7.0
public function set_delivery_url( $url ) {
$this->set_prop( 'delivery_url', esc_url_raw( $url, array( 'http', 'https' ) ) );
}