Files
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

32 lines
951 B
PHP

<?php
/**
* Fired when the plugin is uninstalled.
*
* When populating this file, consider the following flow
* of control:
*
* - This method should be static
* - Check if the $_REQUEST content actually is the plugin name
* - Run an admin referrer check to make sure it goes through authentication
* - Verify the output of $_GET makes sense
* - Repeat with other user roles. Best directly by using the links/query string parameters.
* - Repeat things for multisite. Once for a single site in the network, once sitewide.
*
* @link http://themeisle.com
* @since 3.0.0
*
* @package Feedzy_Rss_Feeds
*/
// If uninstall not called from WordPress, then exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// clean up after ourselves, that's a good plugin!
delete_option( 'feedzy_rss_feeds_logger_flag' );
delete_option( 'feedzy_logger_flag' );
delete_option( 'feedzy-settings' );
delete_option( 'feedzy-rss-feeds' );