WC_Webhook::is_activeprivateWC 3.6.0

Returns if webhook is active.

Method of the class: WC_Webhook{}

No Hooks.

Returns

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() code WC 10.7.0

private function is_active() {
	return 'active' === $this->get_status();
}