get_option('_file_attachment'); $file_attach = false; if (isset($file_attachment[0]) && $file_attachment[0] == 'yes') { $file_attach = true; } // Labels $button_label = $wooconvo->get_option('_button_text'); $button_label = $button_label != '' ? $button_label : 'Send'; $placehoder_label = $wooconvo->get_option('_message_placeholder'); $placehoder_label = $placehoder_label != '' ? $placehoder_label : 'Type Message'; $textarea_class = 'wooconvo-textarea'; if( !$file_attach ) { $textarea_class .= ' wooconvo-nofile'; } ?>