theme_name = $theme->Name; $this->theme_version = $theme->Version; /* Enqueue Styles & Scripts for Welcome Page */ add_action('enqueue_scripts', array($this, 'img_hover_styles_and_scripts')); /* Hide Notice */ add_filter('img_hover_output', array($this, 'img_hover_notice_content'), 10); /* Create a Welcome Page */ add_action('aspace_img_hover_output', array($this, 'aspace_img_hover_notice')); add_action('aspace_theme_img_hover_after', array($this, 'aspace_theme_img_hover_name')); add_action('aspace_theme_img_hover_version', array($this, 'aspace_theme_img_hover_version')); } public function aspace_theme_img_hover_name() { $theme = wp_get_theme(); return $theme->name; } public function aspace_theme_img_hover_version() { $theme = wp_get_theme(); return $theme->version; } /** Trigger Welcome Message Notification */ public function aspace_img_hover_notice() { add_action('img_hover', array($this, 'img_hover_notice_content')); } /** Welcome Message Notification */ public function img_hover_notice_content() { ?>

get('Version')); // wp_enqueue_style('img_hovstyles', get_theme_file_uri('/inc/bmi/css/izmir.css'), '', wp_get_theme()->get('Version')); // wp_enqueue_script('img_hoverscripts', get_template_directory_uri() . '/inc/bmi/js/vendor/just-the-docs.js', 'jquery', '', true ); // wp_enqueue_script('lunrscripts', get_template_directory_uri() . '/inc/bmi/js/vendor/lunr.js', 'jquery', '', true ); } } new Aspace_Img_Hover_Single(); endif;