WC_Webhook::set_failure_count
Set failure count.
Method of the class: WC_Webhook{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Webhook = new WC_Webhook(); $WC_Webhook->set_failure_count( $failure_count );
- $failure_count(true|false) (required)
- Total of failures.
Changelog
| Since 3.2.0 | Introduced. |
WC_Webhook::set_failure_count() WC Webhook::set failure count code WC 10.7.0
public function set_failure_count( $failure_count ) {
$this->set_prop( 'failure_count', intval( $failure_count ) );
}