tx_init(); } public function tx_init() { $this->is_activated = get_option('is_valid'); add_action('admin_menu', array($this, 'tx_welcome_menu')); add_action('admin_init', array($this, 'tx_theme_redirect')); } public function tx_welcome_menu() { call_user_func('add_'. 'menu' .'_page', 'Welcome Menu', 'Avas', 'edit_posts', 'Welcome', array($this, 'tx_welcome_msg'), null, 60); add_submenu_page( 'Welcome', 'License', 'License', 'import', 'admin.php?page=Welcome' ); if( !is_plugin_active('avas-core/avas-core.php') || !is_plugin_active('one-click-demo-import/one-click-demo-import.php') ) : add_submenu_page( 'Welcome', 'Manage Plugins', 'Manage Plugins', 'manage_options', 'admin.php?page=manage-plugins' ); endif; if(class_exists('OCDI_Plugin') && is_plugin_active('avas-core/avas-core.php')) : add_submenu_page( 'Welcome', 'Import Demo', 'Import Demo', 'manage_options', 'admin.php?page=one-click-demo-import' ); endif; if(class_exists('ReduxFramework')) : if( is_child_theme() ) : add_submenu_page( 'Welcome', 'Theme Options', 'Theme Options', 'manage_options', 'admin.php?page=AvasChild' ); else: add_submenu_page( 'Welcome', 'Theme Options', 'Theme Options', 'manage_options', 'admin.php?page=avas' ); endif; endif; if ( is_plugin_active('elementor/elementor.php') && class_exists('TX_ThemeBuilder') ) : add_submenu_page( 'Welcome', 'Theme Builder', 'Theme Builder', 'manage_options', 'admin.php?page=tx-theme-builder' ); endif; } public function tx_welcome_msg() { $theme = wp_get_theme(); ?>

'; ?>

get( 'Version' ) ); ?>

'.wp_kses_post('Thanks for choosing the Avas theme.','avas').'

'; if( !is_plugin_active('avas-core/avas-core.php') || !is_plugin_active('one-click-demo-import/one-click-demo-import.php') ) : echo '

'.wp_kses_post('This theme requires the following plugins installed: Avas Core, One Click Demo Import.','avas').'

'; ?>

Avas > Import Demo or click the button below','avas');?>

'.wp_kses_post('For more information about how to install theme and import demo data please check our Documentation.','avas').'

'; ?> '.wp_kses_post('For any issue please contact us via our Support Portal.','avas').'
'.esc_html__('Please note: Our support does not include any customization.', 'avas'). '

'; ?>

System Requirements

tx_system_requirements(); ?>

'; ?>
'; $no_icon = ''; ?>