WC_Webhook::get_failure_count
Get the failure count.
Method of the class: WC_Webhook{}
No Hooks.
Returns
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. |
WC_Webhook::get_failure_count() WC Webhook::get failure count code WC 10.7.0
public function get_failure_count( $context = 'view' ) {
return $this->get_prop( 'failure_count', $context );
}