/**
  * Set class variables.
  */
 public static function set_vars()
 {
     self::$link_template = '<a href="{{href}}" class="{{link_class}}" data-tab-id="{{tab_id}}">';
     self::$link_template .= '<span class="{{span_class}}" style="vertical-align: sub;"></span>';
     self::$link_template .= '{{title}}';
     self::$link_template .= '</a>';
 }
示例#2
0
 * @since 1.5.9
 */
if (version_compare(PHP_VERSION, '5.3.0', '>=') && file_exists(dirname(__FILE__) . '/vendor/tivwp/updater/updater.php')) {
    require_once dirname(__FILE__) . '/vendor/tivwp/updater/updater.php';
}
/**
 * In admin area
 */
if (WPGlobus_WP::in_wp_admin()) {
    /**
     * Admin page helpers
     *
     * @since 1.6.5
     */
    require_once dirname(__FILE__) . '/includes/admin/class-wpglobus-admin-page.php';
    /**
     * HelpDesk
     *
     * @since 1.6.5
     */
    require_once dirname(__FILE__) . '/includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php';
    WPGlobus_Admin_HelpDesk::construct();
    /**
     * Admin page central.
     *
     * @since 1.6.6
     */
    require_once dirname(__FILE__) . '/includes/admin/central/class-wpglobus-admin-central.php';
    WPGlobus_Admin_Central::construct();
}
/*EOF*/