PluginProbe ʕ •ᴥ•ʔ
External Links – nofollow, noopener & new window / 2.66
External Links – nofollow, noopener & new window v2.66
2.66 0.31 0.32 0.33 0.34 0.35 1.01 1.02 1.03 1.10 1.20 1.21 1.30 1.31 1.40 1.41 1.50 1.51 1.52 1.53 1.54 1.55 1.56 1.60 1.61 1.62 1.70 1.80 1.81 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1.0 2.1.1 2.1.2 2.1.3 2.2.0 2.3 2.32 2.35 2.40 2.42 2.43 2.45 2.46 2.47 2.48 2.50 2.51 2.55 2.56 2.57 2.58 2.59 2.60 2.61 2.62 2.63 2.64 2.65 trunk 0.10 0.11 0.12 0.20 0.21 0.30
wp-external-links / includes / register-hooks / class-wpel-uninstall.php
wp-external-links / includes / register-hooks Last commit date
class-wpel-activation.php 3 years ago class-wpel-deactivate.php 3 years ago class-wpel-uninstall.php 3 years ago
class-wpel-uninstall.php
49 lines
1 <?php
2 /**
3 * Class WPEL_Uninstall
4 *
5 * @package WPEL
6 * @category WordPress Plugin
7 * @version 2.3
8 * @link https://www.webfactoryltd.com/
9 * @license Dual licensed under the MIT and GPLv2+ licenses
10 */
11 final class WPEL_Uninstall extends FWP_Register_Hook_Base_1x0x0
12 {
13
14 /**
15 * @var string
16 */
17 protected $hook_type = 'uninstall';
18
19 /**
20 * Activate network
21 * @return void
22 */
23 protected function network_procedure()
24 {
25 // network settings
26 delete_site_option( 'wpel-network-settings' );
27 delete_site_option( 'wpel-network-admin-settings' );
28 }
29
30 /**
31 * Activate site
32 * @return void
33 */
34 protected function site_procedure()
35 {
36 // delete options
37 delete_option( 'wpel-external-link-settings' );
38 delete_option( 'wpel-internal-link-settings' );
39 delete_option( 'wpel-excluded-link-settings' );
40 delete_option( 'wpel-exceptions-settings' );
41 delete_option( 'wpel-admin-settings' );
42
43 delete_option( 'wpel-version' );
44 delete_option( 'wpel-show-notice' );
45 delete_option( 'wpel-pointers' );
46 }
47
48 }
49