Is it possible to uninstall one plugin from within another plugin? May 1, 2022 by Tarik Billa Sure, just call the delete_plugins() function, found in wp-admin/includes/plugin.php – you have to manually require() it.