isset($_POST['module_providers']) ? 1 : 0, 'editor' => isset($_POST['module_editor']) ? 1 : 0, 'chatbot' => isset($_POST['module_chatbot']) ? 1 : 0, 'seo' => isset($_POST['module_seo']) ? 1 : 0, 'mcp' => isset($_POST['module_mcp']) ? 1 : 0, 'wpml' => isset($_POST['module_wpml']) ? 1 : 0, ]; update_option('aiutoma_active_modules', $active_modules); if (isset($_POST['aiutoma_mcp_token'])) { update_option('aiutoma_mcp_token', sanitize_text_field(wp_unslash($_POST['aiutoma_mcp_token']))); } echo '
' . esc_html__('Settings saved successfully. Please refresh the page to see changes in the menu.', 'aiutoma') . '