PluginProbe ʕ •ᴥ•ʔ
After Login Redirect / 2.0.5
After Login Redirect v2.0.5
trunk 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5
wp-after-login-redirect-advanced / uninstall.php
wp-after-login-redirect-advanced Last commit date
admin 1 month ago includes 1 month ago languages 1 month ago public 1 month ago vendor 1 month ago README.md 1 month ago composer.json 1 month ago composer.lock 1 month ago index.php 1 month ago license.txt 1 month ago readme.txt 1 month ago uninstall.php 1 month ago wp-after-login-redirect-advanced.php 1 month ago
uninstall.php
19 lines
1 <?php
2 /**
3 * Fired when the plugin is uninstalled.
4 *
5 * @since 2.0.0
6 * @package Wp_After_Login_Redirect_Advanced
7 * @author Sajjad Hossain Sagor <sagorh672@gmail.com>
8 */
9
10 // If uninstall not called from WordPress, then exit.
11 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
12 die;
13 }
14
15 // Remove plugin option.
16 delete_option( 'wplra_login_redirect_enable' );
17 delete_option( 'wplra_wc_login_redirect_enable' );
18 delete_option( 'wplra_login_redirect_filters' );
19