WC_Webhook::get_event()
Get the event for the webhook, e.g. created
.
Description Description
Return Return
(string)
Source Source
File: includes/class-wc-webhook.php
public function get_event() { $topic = explode( '.', $this->get_topic() ); return apply_filters( 'woocommerce_webhook_event', isset( $topic[1] ) ? $topic[1] : '', $this->get_id() ); }
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |