| Server IP : 194.30.32.123 / Your IP : 216.73.216.89 Web Server : Apache System : Linux eab357717bca 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64 User : ftpbegirale ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /expert/htwebs/www.begirale.com/public/wp-content/plugins/jonradio-multiple-themes/ |
Upload File : |
<?php
// Ensure call comes from WordPress, not a hacker or anyone else trying direct access.
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
exit ();
/* Remove any tables, options, and such created by this Plugin */
$setting_names = array(
'jr_mt_settings',
'jr_mt_internal_settings',
'jr_mt_all_themes'
);
if ( function_exists( 'is_multisite' ) && is_multisite() ) {
global $wpdb, $site_id;
$blogs = $wpdb->get_results( "SELECT blog_id FROM {$wpdb->blogs} WHERE site_id = $site_id" );
foreach ( $blogs as $blog_obj ) {
foreach ( $setting_names as $name ) {
delete_blog_option( $blog_obj->blog_id, $name );
}
}
} else {
foreach ( $setting_names as $name ) {
delete_option( $name );
}
}
?>