cl01/wp-content/plugins/http-headers/uninstall.php
2025-02-24 12:39:24 +08:00

12 lines
261 B
PHP
Executable File

<?php
// If uninstall is not called from WordPress, exit
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit();
}
$options = include dirname(__FILE__) . '/views/includes/options.inc.php';
foreach ($options as $option)
{
delete_option( $option[0] );
}