PluginProbe
WPTerm / 1.1.2
WPTerm v1.1.2
1.3 trunk 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2
wpterm / uninstall.php

uninstall.php in WPTerm 1.1.2, at uninstall.php

28 lines 998 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 +=====================================================================+
4 | __ ______ _____ |
5 | \ \ / / _ \_ _|__ _ __ _ __ ___ |
6 | \ \ /\ / /| |_) || |/ _ \ '__| '_ ` _ \ |
7 | \ V V / | __/ | | __/ | | | | | | | |
8 | \_/\_/ |_| |_|\___|_| |_| |_| |_| |
9 | |
10 | (c) Jerome Bruandet ~ https://nintechnet.com/ |
11 +=====================================================================+
12 */
13
14 if (! defined('WP_UNINSTALL_PLUGIN') ) {
15 exit( "Not allowed" );
16 }
17
18 if ( is_multisite() ) {
19 delete_site_option( 'wpterm_options' );
20 }
21 delete_option( 'wpterm_options' );
22 if ( isset( $_SESSION['wptermpwd'] ) ) {
23 unset( $_SESSION['wptermpwd'] );
24 }
25
26 /* ================================================================== */
27 // EOF
28