WC_Webhook::get_failure_count( string $context = 'view' )
Get the failure count.
Description Description
Parameters Parameters
- $context
-
(Optional) What the value is for. Valid values are 'view' and 'edit'.
Default value: 'view'
Return Return
(int)
Source Source
File: includes/class-wc-webhook.php
public function get_failure_count( $context = 'view' ) { return $this->get_prop( 'failure_count', $context ); }
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |