WC_Webhook::get_i18n_status()publicWC 1.0

Get the webhook i18n status.

Method of the class: WC_Webhook{}

No Hooks.

Return

String.

Usage

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

WC_Webhook::get_i18n_status() code WC 8.9.0

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

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