HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/church.martyknows.com/wp-content/plugins/jonradio-private-site/uninstall.php
<?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  */
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) {
		delete_blog_option( $blog_obj->blog_id, 'jr_ps_settings' );
		delete_blog_option( $blog_obj->blog_id, 'jr_ps_internal_settings' );
	}
} else {
	delete_option( 'jr_ps_settings' );
	delete_option( 'jr_ps_internal_settings' );
}
?>