WC_Webhook::get_i18n_status
Get the webhook i18n status.
Метод класса: WC_Webhook{}
Хуков нет.
Возвращает
Строку.
Использование
$WC_Webhook = new WC_Webhook(); $WC_Webhook->get_i18n_status();
Код WC_Webhook::get_i18n_status() WC Webhook::get i18n status WC 11.0.0
public function get_i18n_status() {
$status = $this->get_status();
$statuses = wc_get_webhook_statuses();
return isset( $statuses[ $status ] ) ? $statuses[ $status ] : $status;
}