WC_Webhook::get_i18n_status()publicWC 1.0

Get the webhook i18n status.

Метод класса: WC_Webhook{}

Хуков нет.

Возвращает

Строку.

Использование

$WC_Webhook = new WC_Webhook();
$WC_Webhook->get_i18n_status();

Код WC_Webhook::get_i18n_status() WC 8.7.0

public function get_i18n_status() {
	$status   = $this->get_status();
	$statuses = wc_get_webhook_statuses();

	return isset( $statuses[ $status ] ) ? $statuses[ $status ] : $status;
}