bulk.php
4 weeks ago
delete.php
4 weeks ago
index.php
4 weeks ago
scheduling.php
4 weeks ago
templates.php
4 weeks ago
update.php
4 weeks ago
bulk.php
23 lines
| 1 | <?php |
| 2 | if(!defined('ABSPATH')) { |
| 3 | die(); |
| 4 | } |
| 5 | ?> |
| 6 | <h2>Bulk Delete Exports</h2> |
| 7 | |
| 8 | <form method="post"> |
| 9 | <input type="hidden" name="action" value="bulk" /> |
| 10 | <input type="hidden" name="bulk-action" value="<?php echo esc_attr($action) ?>" /> |
| 11 | <?php foreach ($ids as $id): ?> |
| 12 | <input type="hidden" name="items[]" value="<?php echo esc_attr($id) ?>" /> |
| 13 | <?php endforeach ?> |
| 14 | |
| 15 | <?php /* translators: 1: count, 2: singular/plural noun */ ?> |
| 16 | <p><?php echo wp_kses_post(sprintf(__('Are you sure you want to delete <strong>%1$s</strong> selected %2$s?', 'wp-all-export'), intval($items->count()), _n('export', 'exports', intval($items->count()), 'wp-all-export'))) ?></p> |
| 17 | |
| 18 | <p class="submit"> |
| 19 | <?php wp_nonce_field('bulk-exports', '_wpnonce_bulk-exports') ?> |
| 20 | <input type="hidden" name="is_confirmed" value="1" /> |
| 21 | <input type="submit" class="button-primary" value="Delete" /> |
| 22 | </p> |
| 23 | </form> |