PluginProbe ʕ •ᴥ•ʔ
RealHomes Currency Switcher / 1.0.9
RealHomes Currency Switcher v1.0.9
trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2
realhomes-currency-switcher / uninstall.php
realhomes-currency-switcher Last commit date
admin 1 year ago includes 1 year ago languages 1 year ago public 1 year ago LICENSE.txt 1 year ago README.txt 1 year ago index.php 1 year ago realhomes-currency-switcher.php 1 year ago uninstall.php 1 year ago
uninstall.php
32 lines
1 <?php
2
3 /**
4 * Fired when the plugin is uninstalled.
5 *
6 * When populating this file, consider the following flow
7 * of control:
8 *
9 * - This method should be static
10 * - Check if the $_REQUEST content actually is the plugin name
11 * - Run an admin referrer check to make sure it goes through authentication
12 * - Verify the output of $_GET makes sense
13 * - Repeat with other user roles. Best directly by using the links/query string parameters.
14 * - Repeat things for multisite. Once for a single site in the network, once sitewide.
15 *
16 * This file may be updated more in future version of the Boilerplate; however, this is the
17 * general skeleton and outline for how the file should work.
18 *
19 * For more information, see the following discussion:
20 * https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
21 *
22 * @link https://inspirythemes.com/
23 * @since 1.0.0
24 *
25 * @package Realhomes_Currency_Switcher
26 */
27
28 // If uninstall not called from WordPress, then exit.
29 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
30 exit;
31 }
32