tools
3 years ago
add_new_instructor.php
2 years ago
addons.php
3 years ago
announcements.php
3 years ago
answer.php
3 years ago
course-bundle.php
2 years ago
course-list.php
2 years ago
enable_disable_addons.php
3 years ago
get-pro.php
3 years ago
instructors.php
2 years ago
question_answer.php
3 years ago
quiz_attempts.php
3 years ago
students.php
3 years ago
tools.php
3 years ago
tutor-pro-addons.php
3 years ago
uninstall.php
3 years ago
view_attempt.php
3 years ago
welcome.php
3 years ago
whats-new.php
2 years ago
withdraw_requests.php
2 years ago
uninstall.php
24 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Uninstall view page |
| 4 | * |
| 5 | * @package Tutor\Views |
| 6 | * @subpackage Tutor\Uninstall |
| 7 | * @author Themeum <support@themeum.com> |
| 8 | * @link https://themeum.com |
| 9 | * @since 1.0.0 |
| 10 | */ |
| 11 | |
| 12 | ?> |
| 13 | |
| 14 | <div class="wrap tutor-uninstall-wrap"> |
| 15 | <h2><?php esc_html_e( 'Uninstall Tutor', 'tutor' ); ?></h2> |
| 16 | <p class="desc"><?php esc_html_e( 'Just deactivate tutor plugin or completely uninstall and erase all of data saved before by tutor.', 'tutor' ); ?></p> |
| 17 | |
| 18 | <div class="tutor-uninstall-btn-group"> |
| 19 | <?php $plugin_file = tutor()->basename; ?> |
| 20 | <a href="<?php echo esc_url( wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . urlencode( $plugin_file ) ) . '&plugin_status=all&paged=1&s=', 'deactivate-plugin_' . $plugin_file ); ?>" class="tutor-btn tutor-btn-outline-primary"><?php esc_html_e( 'Deactivate', 'tutor' ); ?></a> |
| 21 | <a href="admin.php?action=uninstall_tutor_and_erase" class="tutor-btn tutor-btn-outline-primary"><?php esc_html_e( 'Completely Uninstall and erase all data', 'tutor' ); ?></a> |
| 22 | </div> |
| 23 | </div> |
| 24 |