WC_Webhook::is_active()
Returns if webhook is active.
Method of the class: WC_Webhook{}
No Hooks.
Return
true|false
. True if validation passes.
Usage
// private - for code of main (parent) class only $result = $this->is_active();
Changelog
Since 3.6.0 | Introduced. |
WC_Webhook::is_active() WC Webhook::is active code WC 9.8.2
private function is_active() { return 'active' === $this->get_status(); }