get( 'Name' ) ); $theme_slug = trim( strtolower( $theme_data->get( 'Name' ) ) ); $theme_version = $theme_data->get( 'Version' ); $theme_info['version'] = $theme_version; $theme_info['name'] = $theme_name; $theme_info['slug'] = $theme_slug; return $theme_info; } function atlast_business_set_promo_div() { $promo = array(); $promo['heading'] = esc_html__( 'PRO VERSION? DON\'T THINK SO..', 'atlast-business' ); $promo['content'] = esc_html__( 'Atlast Business is a theme that has *PRO* features and gets updated very often. So there is no need at all for a "Pro" version of this theme. We only get better based on your feedback. Please rate us. ', 'atlast-business' ); $promo['link_text'] = esc_html__( 'Rate our Theme', 'atlast-business' ); $promo['link_url'] = esc_url( 'https://wordpress.org/support/theme/atlast-business/reviews/' ); return $promo; } function atlast_business_register_tabs() { $tabs = array(); $getting_started = array( 'tab_key' => 'getting_started', 'tab_name' => esc_html__( 'Getting Started', 'atlast-business' ) ); $documentation = array( 'tab_key' => 'documentation', 'tab_name' => esc_html__( 'Documentation / Support', 'atlast-business' ) ); $more_info = array( 'tab_key' => 'more_info', 'tab_name' => esc_html__( 'Extra Info', 'atlast-business' ) ); $tabs[] = $getting_started; $tabs[] = $documentation; $tabs[] = $more_info; return $tabs; } function atlast_business_register_about_page() { $theme_data = wp_get_theme(); $theme_name = trim( $theme_data->get( 'Name' ) ); $theme_slug = trim( strtolower( $theme_data->get( 'Name' ) ) ); $theme_version = $theme_data->get( 'Version' ); add_theme_page( sprintf( __( 'Welcome to %1$s', 'atlast-business' ), ucfirst( $theme_name ) ), sprintf( __( 'About %1$s', 'atlast-business' ), ucfirst( $theme_name ) ), 'edit_theme_options', 'atlast-business-hello', 'atlast_business_render_about_page' ); function atlast_business_render_about_page() { $themeVars = atlast_business_theme_var_boot(); echo '
'; ?>

Import Demo Data" and hit the "Import Demo Data" Button.', 'atlast-business' ); ?>

'; } } add_action( 'admin_menu', 'atlast_business_register_about_page' );