WC_Webhook::get_delivery_url()
Get the delivery URL.
Method of the class: WC_Webhook{}
Hooks from the method
Return
String
.
Usage
$WC_Webhook = new WC_Webhook(); $WC_Webhook->get_delivery_url( $context );
- $context(string)
- What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'
Changelog
Since 2.2.0 | Introduced. |
WC_Webhook::get_delivery_url() WC Webhook::get delivery url code WC 9.5.1
public function get_delivery_url( $context = 'view' ) { return apply_filters( 'woocommerce_webhook_delivery_url', $this->get_prop( 'delivery_url', $context ), $this->get_id() ); }