PluginProbe ʕ •ᴥ•ʔ
Smart Custom 404 Error Page / trunk
Smart Custom 404 Error Page vtrunk
trunk 11.4.6 11.4.7 11.4.8
404page / uninstall.php
404page Last commit date
assets 1 year ago inc 1 year ago 404page.php 1 year ago block.json 3 years ago block.php 1 year ago functions.php 1 year ago index.php 8 years ago loader.php 1 year ago readme.txt 1 month ago shortcodes.php 1 year ago uninstall.php 1 year ago
uninstall.php
26 lines
1 <?php
2
3 /**
4 * The 404page Plugin Uninstall
5 */
6
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly
10 }
11
12 // If this is somehow accessed withou plugin uninstall is requested, abort
13 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) || ! WP_UNINSTALL_PLUGIN || dirname( WP_UNINSTALL_PLUGIN ) != dirname( plugin_basename( __FILE__ ) ) ) {
14 die;
15 }
16
17 /**
18 * Loader
19 */
20 require_once( plugin_dir_path( __FILE__ ) . '/loader.php' );
21
22
23 /**
24 * Run Uninstaller
25 */
26 pp_404page()->uninstall();