WordPress at Your Fingertips
function is not described

WC_Webhook::is_active() private WC 3.6.0

Returns if webhook is active.

{} It's a 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.

Code of WC_Webhook::is_active() WC 6.1.1

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