WordPress at Your Fingertips
function is not described

WC_Webhook::get_failure_count() public WC 2.2.0

Get the failure count.

{} It's a method of the class: WC_Webhook{}

No Hooks.

Return

Int.

Usage

$WC_Webhook = new WC_Webhook();
$WC_Webhook->get_failure_count( $context );
$context(string)
What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'

Changelog

Since 2.2.0 Introduced.

Code of WC_Webhook::get_failure_count() WC 5.9.0

public function get_failure_count( $context = 'view' ) {
	return $this->get_prop( 'failure_count', $context );
}