WC_Webhook::get_i18n_status
Get the webhook i18n status.
Method of the class: WC_Webhook{}
No Hooks.
Returns
String.
Usage
$WC_Webhook = new WC_Webhook(); $WC_Webhook->get_i18n_status();
WC_Webhook::get_i18n_status() WC Webhook::get i18n status code WC 10.5.0
public function get_i18n_status() {
$status = $this->get_status();
$statuses = wc_get_webhook_statuses();
return isset( $statuses[ $status ] ) ? $statuses[ $status ] : $status;
}