WC_Webhook::get_failure_count
Get the failure count.
Метод класса: WC_Webhook{}
Хуков нет.
Возвращает
int.
Использование
$WC_Webhook = new WC_Webhook(); $WC_Webhook->get_failure_count( $context );
- $context(строка)
- What the value is for. Valid values are 'view' and 'edit'.
По умолчанию: 'view'
Список изменений
| С версии 2.2.0 | Введена. |
Код WC_Webhook::get_failure_count() WC Webhook::get failure count WC 10.3.4
public function get_failure_count( $context = 'view' ) {
return $this->get_prop( 'failure_count', $context );
}