theme_name = $theme->Name; $this->theme_version = $theme->Version; /* Enqueue Styles & Scripts for Welcome Page */ add_action('enqueue_scripts', array($this, 'img_hover3_styles_and_scripts')); /* Hide Notice */ add_filter('img_hover3_output', array($this, 'img_hover3_notice_content'), 10); /* Create a Welcome Page */ add_action('aspace_img_hover3_output', array($this, 'aspace_img_hover3_notice')); add_action('aspace_theme_img_hover3_after', array($this, 'aspace_theme_img_hover3_name')); add_action('aspace_theme_img_hover3_version', array($this, 'aspace_theme_img_hover3_version')); } public function aspace_theme_img_hover3_name() { $theme = wp_get_theme(); return $theme->name; } public function aspace_theme_img_hover3_version() { $theme = wp_get_theme(); return $theme->version; } /** Trigger Welcome Message Notification */ public function aspace_img_hover3_notice() { add_action('aspace_img_hover3', array($this, 'img_hover3_notice_content')); } /** Welcome Message Notification */ public function img_hover3_notice_content() { ?>
aspace