Changeset 3430666
- Timestamp:
- 01/01/2026 05:26:59 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smart-support-chat-widget/trunk/smart-support-chat-widget.php
r3400961 r3430666 23 23 define('SMARTSUPPORT_WP_PLUGIN_URL', plugin_dir_url(__FILE__)); 24 24 25 // Load configuration 26 require_once SMARTSUPPORT_WP_PLUGIN_DIR . 'includes/config.php'; 27 25 28 /** 26 29 * Main plugin class … … 80 83 // Get settings with defaults 81 84 $agent_id = sanitize_text_field($settings['agent_id']); 82 $socket_url = 'https://smartsupport.pro';83 $api_base_url = 'https://smartsupport.pro';85 $socket_url = smartsupport_get_base_url(); 86 $api_base_url = smartsupport_get_base_url(); 84 87 $title = !empty($settings['title']) ? sanitize_text_field($settings['title']) : 'Chat Support'; 85 88 $primary_color = !empty($settings['primary_color']) ? sanitize_hex_color($settings['primary_color']) : '#6366f1';
Note: See TracChangeset
for help on using the changeset viewer.