fewbricks\fewbricks::init_messages PHP Méthode

init_messages() private static méthode

private static init_messages ( )
    private static function init_messages()
    {
        self::$messages = [];
        self::$messages['acf_missing'] = '
          <div class="error notice">
            <p>You have activated the plugin "Fewbricks". In order to use it, please make sure that <a href="http://www.advancedcustomfields.com/">Advanced Custom Fields 5 Pro</a> is installed and activated.</p>
          </div>';
        self::$messages['fewbricks_hidden_missing'] = '
            <div class="error notice">
              <p>You have activated the plugin "Fewbricks". In order to use it, please make sure that <a href="https://github.com/folbert/acf-fewbricks-hidden">Fewbricks Hidden Field</a> for Advanced Custom Fields is installed and activated.</p>
            </div>
        ';
        self::$messages['fewbricks_template_dir_missing'] = '
            <div class="error notice">
              <p>You have activated the plugin "Fewbricks". In order to use it, please make sure that you have copied the directory "fewbricks" in plugins/fewbricks/ to your theme directory. Read more in the <a href="https://github.com/folbert/fewbricks/blob/master/README.md">README</a> (search for "hidden").</p>
          </div>
        ';
    }