'visual-portfolio-welcome' ), admin_url( Visual_Portfolio_Custom_Post_Type::get_menu_slug() ) ) ); } /** * Add welcome screen page. */ public function welcome_screen_page() { add_submenu_page( Visual_Portfolio_Custom_Post_Type::get_menu_slug(), esc_html__( 'Visual Portfolio Welcome Screen', 'visual-portfolio' ), esc_html__( 'Visual Portfolio Welcome Screen', 'visual-portfolio' ), 'manage_options', 'visual-portfolio-welcome', array( $this, 'welcome_screen_page_content' ) ); } /** * Remove welcome screen page from admin menu. */ public function welcome_screen_remove_page() { remove_submenu_page( Visual_Portfolio_Custom_Post_Type::get_menu_slug(), 'visual-portfolio-welcome' ); } /** * Add welcome screen page content. */ public function welcome_screen_page_content() { if ( function_exists( 'print_emoji_detection_script' ) ) { print_emoji_detection_script(); } $go_pro_links = array( 'head' => Visual_Portfolio_Admin::get_plugin_site_url( array( 'utm_medium' => 'welcome_page', 'utm_campaign' => 'go_pro_head', ) ), 'more_features' => Visual_Portfolio_Admin::get_plugin_site_url( array( 'sub_path' => '', 'utm_medium' => 'welcome_page', 'utm_campaign' => 'more_features', ) ), 'docs' => Visual_Portfolio_Admin::get_plugin_site_url( array( 'sub_path' => 'docs/getting-started', 'utm_medium' => 'welcome_page', 'utm_campaign' => 'docs', ) ), 'foot' => Visual_Portfolio_Admin::get_plugin_site_url( array( 'utm_medium' => 'settings_page', 'utm_campaign' => 'go_pro_foot', ) ), ); ?>
<?php echo esc_attr__( 'Visual Portfolio', 'visual-portfolio' ); ?>
visualportfolio.co/pricing' ); ?>