WC_Log_Levels::get_all_level_labels()
Get the UI labels for all log levels.
Метод класса: WC_Log_Levels{}
Хуков нет.
Возвращает
Строку[]
.
Использование
$result = WC_Log_Levels::get_all_level_labels();
Код WC_Log_Levels::get_all_level_labels() WC Log Levels::get all level labels WC 9.8.2
public static function get_all_level_labels() { return array( self::EMERGENCY => __( 'Emergency', 'woocommerce' ), self::ALERT => __( 'Alert', 'woocommerce' ), self::CRITICAL => __( 'Critical', 'woocommerce' ), self::ERROR => __( 'Error', 'woocommerce' ), self::WARNING => __( 'Warning', 'woocommerce' ), self::NOTICE => __( 'Notice', 'woocommerce' ), self::INFO => __( 'Info', 'woocommerce' ), self::DEBUG => __( 'Debug', 'woocommerce' ), ); }