HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/public_html/wp-content/plugins/button-contact-vr/app/Utils/Editor.php
<?php
/*
 * SOFTWARE LICENSE INFORMATION
 *
 * Copyright (c) 2017 Buttonizer, all rights reserved.
 *
 * This file is part of Buttonizer
 *
 * For detailed information regarding to the licensing of
 * this software, please review the license.txt or visit:
 * https://buttonizer.pro/license/
 */

namespace BZContactButton\Utils;

class Editor
{
    public static function getEditorLanguage()
    {
        switch (get_locale()) {
            case "nl_NL":
            case "nl_BE":
                return "nl";

            case "it_IT":
                return "it";

            case "pt_BR":
                return "pt_br";

            case "ro_RO":
                return "ro_ro";

            case "tr_TR":
                return "tr_tr";

            case "es_ES":
                return "es";

            default:
                return 'en';
        }
    }
}