get_limitations(); } $connect_url = \AIAssistantTenWeb\Utils::get_tenweb_connection_link(); $limitation = \AIAssistantTenWeb\Utils::get_limitation(); $reset_date = !empty ($limitation['resetDate']) ? gmdate('d.m.Y', strtotime($limitation['resetDate'])) : ''; $words_used = !empty ($limitation['alreadyUsed']) ? $limitation['alreadyUsed'] : 0; $total_allowed_words = !empty ($limitation['planLimit']) ? intval($limitation['planLimit']) : 5000; $plan_title = __('Free', 'ai-assistant-tenweb'); $used_percent = round(($words_used * 100) / $total_allowed_words); $used_percent = min($used_percent, 100); $taa_disconnect_link = get_admin_url() . 'admin.php?page=ai_assistant_tenweb&taa_disconnect=1&nonce=' . wp_create_nonce(AIAssistantTenWeb::NONCE_ACTION); $wp_plugin_url = 'https://wordpress.org/support/plugin/ai-assistant-by-10web/'; $taa_connection_error_msg = get_site_transient('taa_auth_error_logs'); $is_hosted_website = \Tenweb_Authorization\Helper::check_if_manager_mu(); ?>
array())); ?>
'.esc_html__('WP.org','ai-assistant-tenweb').''); ?>
array())); ?>