at path:
ROOT
/
wp-content
/
plugins
/
mailchimp-for-wp
/
uninstall.php
run:
R
W
Run
assets
DIR
2026-03-27 02:20:25
R
W
Run
config
DIR
2026-03-27 02:20:25
R
W
Run
includes
DIR
2026-03-27 02:20:25
R
W
Run
integrations
DIR
2026-03-27 02:20:25
R
W
Run
languages
DIR
2026-03-27 02:20:25
R
W
Run
AGENTS.md
1011 By
2026-03-27 02:20:25
R
W
Run
Delete
Rename
CHANGELOG.md
58.37 KB
2026-03-27 02:20:25
R
W
Run
Delete
Rename
LICENSE
34 KB
2026-03-27 02:20:25
R
W
Run
Delete
Rename
README.md
2.31 KB
2026-03-27 02:20:25
R
W
Run
Delete
Rename
SECURITY.md
495 By
2026-03-27 02:20:25
R
W
Run
Delete
Rename
autoload.php
5.82 KB
2026-03-27 02:20:25
R
W
Run
Delete
Rename
mailchimp-for-wp.php
3.48 KB
2026-03-27 02:20:25
R
W
Run
Delete
Rename
readme.txt
40.17 KB
2026-03-27 02:20:25
R
W
Run
Delete
Rename
uninstall.php
547 By
2026-03-27 02:20:25
R
W
Run
Delete
Rename
wpml-config.xml
1.42 KB
2026-03-27 02:20:25
R
W
Run
Delete
Rename
error_log
up
📄
uninstall.php
Save
<?php // if uninstall.php is not called by WordPress, die if (!defined('WP_UNINSTALL_PLUGIN')) { die; } global $wpdb; // Delete all MC4WP related options and transients $wpdb->query("DELETE FROM {$wpdb->options} WHERE option_name = 'mc4wp' OR option_name LIKE 'mc4wp_%' OR option_name LIKE '_transient_mc4wp_%' OR option_name LIKE '_transient_timeout_mc4wp_%';"); // Delete all MC4WP forms + settings $wpdb->query("DELETE p, pm FROM {$wpdb->posts} p LEFT JOIN {$wpdb->postmeta} pm ON pm.post_id = p.ID WHERE p.post_type = 'mc4wp-form';");