WC_Webhook::set_failure_count()
Set failure count.
Method of the class: WC_Webhook{}
No Hooks.
Return
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 9.8.1
public function set_failure_count( $failure_count ) { $this->set_prop( 'failure_count', intval( $failure_count ) ); }