WC_Webhook::get_delivery_url( string $context = 'view' )
Get the delivery URL.
Description Description
Parameters Parameters
- $context
-
(Optional) What the value is for. Valid values are 'view' and 'edit'.
Default value: 'view'
Return Return
(string)
Source Source
File: includes/class-wc-webhook.php
public function get_delivery_url( $context = 'view' ) { return apply_filters( 'woocommerce_webhook_delivery_url', $this->get_prop( 'delivery_url', $context ), $this->get_id() ); }
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |