PluginProbe
WPSSO Core – Complete Schema Markup and Meta Tags / trunk
WPSSO Core – Complete Schema Markup and Meta Tags vtrunk
22.6.1 22.6.0 22.5.3 22.5.2 22.5.1 22.4.0 22.3.0 22.2.1 22.2.0 22.1.3 22.1.2 22.1.1 22.1.0 22.0.0 21.13.3 21.13.2 trunk 21.13.1
wpsso / uninstall.php

uninstall.php in WPSSO Core – Complete Schema Markup and Meta Tags trunk, at uninstall.php

24 lines 597 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * License: GPLv3
4 * License URI: https://www.gnu.org/licenses/gpl.txt
5 * Copyright 2012-2026 Jean-Sebastien Morisset (https://wpsso.com/)
6 */
7
8 if ( ! defined( 'ABSPATH' ) || ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
9
10 die( 'These aren\'t the droids you\'re looking for.' );
11 }
12
13 $plugin_dir = trailingslashit( dirname( __FILE__ ) );
14
15 $plugin_file = $plugin_dir . 'wpsso.php';
16
17 require_once $plugin_dir . 'lib/config.php';
18
19 WpssoConfig::set_constants( $plugin_file );
20
21 WpssoConfig::require_libs( $plugin_file ); // Includes the register.php class library.
22
23 WpssoRegister::network_uninstall();
24