# wp-database-backup/6.11/includes/admin/deactivate-feedback.php

WP Database Backup – Unlimited Database &amp; Files Backup by Backup for WP, version 6.11. 37 lines.

- Page: https://pluginprobe.com/plugins/wp-database-backup/6.11/code/includes/admin/deactivate-feedback.php
- Raw: https://pluginprobe.com/plugins/wp-database-backup/6.11/raw/includes/admin/deactivate-feedback.php
- Modified: 2024-06-13T10:44:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-database-backup/6.11/code/includes/admin/deactivate-feedback.php#L10-L20`.

```php
<?php 
$reasons = array(
    	1 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="temporary"/>' . esc_html__('It is only temporary', 'wpdbbkp') . '</label></li>',
		2 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="stopped"/>' . esc_html__('I stopped using WP Database Backup on my site', 'wpdbbkp') . '</label></li>',
		3 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="missing"/>' . esc_html__('I miss a feature', 'wpdbbkp') . '</label></li>
		<li><input type="text" class="mb-box missing" name="wpdbbkp_disable_text[]" value="" placeholder="Please describe the feature"/></li>',
		4 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="technical"/>' . esc_html__('Technical Issue', 'wpdbbkp') . '</label></li>
		<li><textarea  class="mb-box technical" name="wpdbbkp_disable_text[]" placeholder="' . esc_html__('How Can we help? Please describe your problem', 'wpdbbkp') . '"></textarea></li>',
		5 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="another"/>' . esc_html__('I switched to another plugin', 'wpdbbkp') .  '</label></li>
		<li><input type="text"  class="mb-box another" name="wpdbbkp_disable_text[]" value="" placeholder="Name of the plugin"/></li>',
		6 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="other"/>' . esc_html__('Other reason', 'wpdbbkp') . '</label></li>
		<li><textarea  class="mb-box other" name="wpdbbkp_disable_text[]" placeholder="' . esc_html__('Please specify, if possible', 'wpdbbkp') . '"></textarea></li>',
    );
shuffle($reasons);
?>


<div id="wpdbbkp-feedback-overlay" style="display: none;">
    <div id="wpdbbkp-feedback-content">
	<form action="" method="post">
	    <h3><strong><?php echo esc_html__('If you have a moment, please let us know why you are deactivating:', 'wpdbbkp'); ?></strong></h3>
	    <ul>
                <?php 
                foreach ($reasons as $reason){
                    echo $reason;
                }
                ?>
	    </ul>
	    <?php if ($email) : ?>
    	    <input type="hidden" name="wpdbbkp_disable_from" value="<?php echo $email; ?>"/>
	    <?php endif; ?>
	    <input id="wpdbbkp-feedback-submit" class="button button-primary" type="submit" name="wpdbbkp_disable_submit" value="<?php echo esc_html__('Submit & Deactivate', 'wpdbbkp'); ?>"/>
	    <a class="button"><?php echo esc_html__('Only Deactivate', 'wpdbbkp'); ?></a>
	    <a class="wpdbbkp-feedback-not-deactivate" href="#"><?php echo esc_html__('Don\'t deactivate', 'wpdbbkp'); ?></a>
	</form>
    </div>
</div>
```
