HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: /home/honghock/public_html/wp-content/plugins/admin-notices-manager/uninstall.php
<?php
/**
 * Uninstall script.
 *
 * @package admin-notices-manager
 */

// If uninstall.php is not called by WordPress, die.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	die;
}

global $wpdb;
if ( function_exists( 'is_multisite' ) && is_multisite() ) {
	$wpdb->query( // @codingStandardsIgnoreLine
		$wpdb->prepare(
			"
            DELETE FROM $wpdb->sitemeta
            WHERE meta_key LIKE %s
            ",
			array(
				'anm%',
			)
		)
	);
} else {
	$wpdb->query( // @codingStandardsIgnoreLine
		$wpdb->prepare(
			"
            DELETE FROM $wpdb->options
            WHERE option_name LIKE %s
            ",
			array(
				'anm%',
			)
		)
	);
}