PluginProbe ʕ •ᴥ•ʔ
Easy Actions Scheduler Cleaner / 1.0.2
Easy Actions Scheduler Cleaner v1.0.2
trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0
easy-actions-scheduler-cleaner-ayudawp / uninstall.php
easy-actions-scheduler-cleaner-ayudawp Last commit date
assets 7 months ago includes 7 months ago languages 7 months ago easy-actions-scheduler-cleaner-ayudawp.php 7 months ago readme.txt 7 months ago uninstall.php 7 months ago
uninstall.php
24 lines
1 <?php
2 /**
3 * Uninstall handler for Easy Actions Scheduler Cleaner by AyudaWP
4 *
5 * @package EasyActionsSchedulerCleanerAyudaWP
6 * @since 1.0.0
7 */
8
9 // If uninstall not called from WordPress, exit
10 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
11 exit;
12 }
13
14 // Delete plugin options
15 delete_option( 'easy_actions_scheduler_cleaner_ayudawp_redirect' );
16
17 // Clean up any transients (if we had any)
18 delete_transient( 'easy_actions_scheduler_cleaner_ayudawp_status' );
19
20 // Clean up cache entries that the plugin might have created
21 wp_cache_delete( 'easc_status_counts', 'easy_actions_scheduler_cleaner_ayudawp' );
22 wp_cache_delete( 'easc_logs_count', 'easy_actions_scheduler_cleaner_ayudawp' );
23 wp_cache_delete( 'easc_table_exists_' . md5( $GLOBALS['wpdb']->prefix ), 'easy_actions_scheduler_cleaner_ayudawp' );
24 wp_cache_delete( 'easc_logs_table_exists_' . md5( $GLOBALS['wpdb']->prefix ), 'easy_actions_scheduler_cleaner_ayudawp' );