wc_get_webhook_statuses()
Get Webhook statuses.
Хуки из функции
Возвращает
Массив
.
Использование
wc_get_webhook_statuses();
Список изменений
С версии 2.3.0 | Введена. |
Код wc_get_webhook_statuses() wc get webhook statuses WC 9.6.1
function wc_get_webhook_statuses() { return apply_filters( 'woocommerce_webhook_statuses', array( 'active' => __( 'Active', 'woocommerce' ), 'paused' => __( 'Paused', 'woocommerce' ), 'disabled' => __( 'Disabled', 'woocommerce' ), ) ); }