| 1 |
<?php |
| 2 |
/** |
| 3 |
* @author ThimPress |
| 4 |
* @package LearnPress/Admin/Views |
| 5 |
* @version 3.0.0 |
| 6 |
*/ |
| 7 |
|
| 8 |
defined( 'ABSPATH' ) || die(); |
| 9 |
?> |
| 10 |
|
| 11 |
<div class="card"> |
| 12 |
<h2><?php _e( 'Remove current Data', 'learnpress' ); ?></h2> |
| 13 |
<p><?php _e( 'Remove all courses, lessons, quizzes and questions.', 'learnpress' ); ?></p> |
| 14 |
<form method="post" name="learn-press-form-remove-data"> |
| 15 |
<div class=""> |
| 16 |
<p><?php _e( 'Be careful before using this action!', 'learnpress' ); ?></p> |
| 17 |
</div> |
| 18 |
<label class="hide-if-js"> |
| 19 |
<input type="checkbox" name="action" value="learn-press-remove-data"/> |
| 20 |
<?php _e( 'Check this box and click this button again to confirm.', 'learnpress' ); ?> |
| 21 |
</label> |
| 22 |
<p class="tools-button"> |
| 23 |
<button class="button button-fade"><?php esc_html_e( 'Remove', 'learnpress' ); ?></button> |
| 24 |
</p> |
| 25 |
<?php wp_nonce_field( 'learn-press-remove-data', 'remove-data-nonce' ); ?> |
| 26 |
</form> |
| 27 |
</div> |
| 28 |
|