WordPress at Your Fingertips
function is not described

WC_Webhook::get_i18n_status() public WC 1.0

Get the webhook i18n status.

{} It's a method of the class: WC_Webhook{}

No Hooks.

Return

String.

Usage

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

Code of WC_Webhook::get_i18n_status() WC 5.9.0

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

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