WC_Webhook::is_active()privateWC 3.6.0

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

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