theme_name = $theme->Name; $this->theme_version = $theme->Version; /* Enqueue Styles & Scripts for Welcome Page */ add_action('enqueue_scripts', array($this, 'bmi_styles_and_scripts')); /* Hide Notice */ add_filter('bmi_output2', array($this, 'bmi_notice_content_footer'), 10); /* Create a Welcome Page */ add_action('bmi_output', array($this, 'bmi_notice_footer')); 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 bmi_notice_footer() { add_action('bmi_notices', array($this, 'bmi_notice_content_footer')); } /** Welcome Message Notification */ public function bmi_notice_content_footer() { ?> display_name . "\n"; } else { ?> Login get('Version')); // wp_enqueue_script('aspace-bmiscripts', get_template_directory_uri() . '/inc/bmi/js/index.js', 'jquery', '', true ); } } new Aspace_Footer_Login(); endif;