'.__('Contact Support', 'duplicator').''; $reasons = array( array( 'id' => 'NOT_WORKING', 'text' => __("It's not working on my server.", 'duplicator'), 'input_type' => 'textarea', 'input_placeholder' => __("Kindly share what didn't work so we can fix it in future updates...", 'duplicator'), 'internal_message' => $contact_support_template ), array( 'id' => 'CONFUSING_TO_UNDERSTAND', 'text' => __("It's too confusing to understand.", 'duplicator'), 'input_type' => 'textarea', 'input_placeholder' => __('Please tell us what is not clear so that we can improve it.', 'duplicator'), 'internal_message' => $contact_support_template ), array( 'id' => 'FOUND_A_DIFFERENT_PLUGIN', 'text' => __('I found a different plugin that I like better.', 'duplicator'), 'input_type' => 'textfield', 'input_placeholder' => __("What's the plugin name?", 'duplicator') ), array( 'id' => 'NOT_DO_WHAT_I_NEED', 'text' => __("It does not do what I need.", 'duplicator'), 'input_type' => 'textarea', 'input_placeholder' => __('What does it need to do?', 'duplicator') ), array( 'id' => 'TEMPORARY_DEACTIVATION', 'text' => __("It's a temporary deactivation, I use the plugin all the time.", 'duplicator'), 'input_type' => '', 'input_placeholder' => '' ), array( 'id' => 'SWITCHING_PRO_VERSION', 'text' => sprintf(__("I'm switching over to the %s", 'duplicator'), ''.__('Pro version', 'duplicator').''), 'input_type' => '', 'input_placeholder' => '' ), /* array( 'id' => 'OTHER', 'text' => __('Other', 'duplicator'), 'input_type' => 'textarea', 'input_placeholder' => __('Please tell us the reason so we can improve it.', 'duplicator') ) */ ); $reasons_list_items_html = ''; foreach ($reasons as $reason) { $list_item_classes = 'duplicator-modal-reason'.(!empty($reason['input_type']) ? ' has-input' : '' ); if (!empty($reason['internal_message'])) { $list_item_classes .= ' has-internal-message'; $reason_internal_message = $reason['internal_message']; } else { $reason_internal_message = ''; } $reasons_list_items_html .= '