theme_name = $theme->Name; $this->theme_version = $theme->Version; /* Enqueue Styles & Scripts for Welcome Page */ add_action('enqueue_scripts', array($this, 'login_topbar_styles_and_scripts')); /* Hide Notice */ add_filter('aspace_login_output', array($this, 'login_topbar_notice_content'), 10); /* Create a Welcome Page */ add_action('aspace_login_output', array($this, 'aspace_login_notice')); add_action('aspace_theme__after', array($this, 'aspace_theme_bminame')); add_action('aspace_theme__after', array($this, 'aspace_theme_bmiversion')); } public function aspace_theme_bminame() { $theme = wp_get_theme(); return $theme->name; } public function aspace_theme_bmiversion() { $theme = wp_get_theme(); return $theme->version; } /** Trigger Welcome Message Notification */ public function aspace_login_notice() { add_action('login_notices', array($this, 'login_topbar_notice_content')); } /** Welcome Message Notification */ public function login_topbar_notice_content() { ?> Hi,

user_login . "\n"; ?>

display_name . "\n"; } else { ?> get('Version')); // wp_enqueue_script('aspace-bmiscripts', get_template_directory_uri() . '/inc/bmi/js/index.js', 'jquery', '', true ); } } new Aspace_Login(); endif;