✨feature: Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* Plugin uninstall cleanup.
|
||||
*
|
||||
* @package LogoSoup
|
||||
*/
|
||||
|
||||
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$settings = get_option( 'logo_soup_settings', array() );
|
||||
|
||||
if ( is_array( $settings ) && ! empty( $settings['cleanup_on_drop'] ) ) {
|
||||
delete_option( 'logo_soup_settings' );
|
||||
}
|
||||
Reference in New Issue
Block a user