'inherit', 'font_size' => 'inherit', ); public $chatbot_font_size = ''; public $chatbot_theme = array( 'general_text' => '#141414', 'general_background' => '#FFFFFF', 'primary_text' => '#FFFFFF', 'primary_background' => '#009CFF', 'secondary_text' => '#141414', 'secondary_background' => '#E3E3E3', 'icon' => '#FFFFFF', ); public $chatbot_custom_css = ''; public static $sanitizeProperties = array( 'chatbot_button_text' => 'sanitize_text_field', 'chatbot_header_text' => 'sanitize_text_field', 'chatbot_footer_text' => 'sanitize_text_field', 'chatbot_custom_css' => 'sanitize_text_field', 'chatbot_message_placeholder' => 'sanitize_text_field', ); public static $validateProperties = array( 'chatbot_button_text' => 'strlen', // 'chatbot_header_text' => 'strlen', // 'chatbot_footer_text' => 'strlen', ); public function __construct() { $this->chatbot_button_text = esc_html__( 'Hi! How can I help you?', 'ai-copilot' ); $this->chatbot_header_text = '
Powered by' . QUADLAYERS_AICP_PLUGIN_NAME . '
'; $this->chatbot_footer_text = '' . QUADLAYERS_AICP_PLUGIN_NAME . ' is free, download and try it now here!
'; $this->chatbot_message_placeholder = esc_html__( 'Enter your message...', 'ai-copilot' ); $this->visibility = Service_Visibility_Options::instance()->get_args(); } }