'ai_agent_sanitize_option' ]); } } add_action('admin_init', 'ai_agent_register_settings'); // Render settings page function ai_agent_render_settings_page() { ?>

AI Agent Chat Settings

'Position (Top)', 'ai_agent_chat_bottom' => 'Position (Bottom)', 'ai_agent_chat_left' => 'Position (Left)', 'ai_agent_chat_right' => 'Position (Right)' ]; foreach ($positions as $name => $label) { $default = '33'; $value = get_option($name, $default); ?> 'Image Background Color', 'ai_agent_tooltip_bg' => 'Tooltip Background', 'ai_agent_tooltip_color' => 'Tooltip Text Color', 'ai_agent_modal_bg' => 'Modal Background', 'ai_agent_pulse_glow' => 'Pulse Glow Color' ]; $default_colors = [ 'ai_agent_chat_bg_color' => '#efefef', 'ai_agent_tooltip_bg' => '#222', 'ai_agent_tooltip_color' => '#fff', 'ai_agent_modal_bg' => '#222', 'ai_agent_pulse_glow' => '#d16aff' ]; foreach ($color_settings as $name => $label) { $default = $default_colors[$name]; $value = get_option($name, $default); ?>
JotForm Form ID

Enter your JotForm Form ID to connect your AI Agent Chat. You can find this ID in your JotForm dashboard by opening your form and checking the URL.

Disable Chat Everwhere
Disable Chat on Mobile
Location

Select the location where the chat widget should appear.

pixels
Image Size pixels
Agent Image
Agent Welcome

This message will appear as the agent's greeting. Max 140 characters.

Welcome Font Size pixels
Excluded URLs