wp-after-login-redirect-advanced
Last commit date
admin
11 months ago
includes
11 months ago
languages
11 months ago
public
11 months ago
index.php
11 months ago
license.txt
11 months ago
readme.txt
11 months ago
uninstall.php
11 months ago
wp-after-login-redirect-advanced.php
11 months 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 |