W3cubDocs

/WordPress

do_action( "uninstall_{$file}" )

Fires in uninstall_plugin() once the plugin has been uninstalled.

Description

The action concatenates the ‘uninstall_’ prefix with the basename of the plugin passed to uninstall_plugin() to create a dynamically-named action.

Source

File: wp-admin/includes/plugin.php

View on Trac

Changelog

Version Description
2.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/uninstall_file