'', "page" => '', "post" => '', "category" => '', "product" => '', "product-category" => '', "portfolio" => '', "attachment" => '', "rss" => '', "rss-feed" => '', "rss_feed" => '', ); // === CHECK ROBHUB API COMMUNICATOR ========================================================== \\ if (!ai4seo_robhub_api() instanceof Ai4Seo_RobHubApiCommunicator) { echo "
"; ai4seo_echo_error_notice(esc_html__("Could not initialize API communicator. Please contact the plugin developer.", "ai-for-seo") . "#101012523", false); echo "
"; return; } // ___________________________________________________________________________________________ \\ // === OUTPUT ================================================================================ \\ // ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ \\ echo "
"; // Main headline echo "

"; echo ""; echo esc_html(AI4SEO_PLUGIN_NAME); echo " v" . esc_html(AI4SEO_PLUGIN_VERSION_NUMBER) . ""; if (ai4seo_robhub_api()->are_we_using_local_api()) { echo "[LOCAL MODE]"; } echo "

"; flush(); // === CHECK FOR NEW TOS ===================================================================== \\ // set parameter to false, so we definitely don't output anything, if tos was not accepted if (ai4seo_does_user_need_to_accept_tos_toc_and_pp()) { // show message to accept tos and offer a reload button echo "
"; echo "
"; echo "

" . esc_html__("Please accept our Terms of Service to proceed with using this plugin.", "ai-for-seo") . "

"; echo "" . esc_html__("Show terms of service", "ai-for-seo") . ""; echo "
"; echo "
"; return; } echo ""; echo "
"; switch($ai4seo_current_content_tab) { case "": case "dashboard": require_once(ai4seo_get_includes_pages_path("dashboard.php")); break; case "settings": require_once(ai4seo_get_includes_pages_path("settings.php")); break; case "post": require_once(ai4seo_get_includes_pages_content_types_path("post.php")); break; case "media": require_once(ai4seo_get_includes_pages_content_types_path("attachment.php")); break; case "help": require_once(ai4seo_get_includes_pages_path("help.php")); break; default: return "An error occurred. Please contact the plugin developer. #2406232005"; } echo "
"; echo "";