do_action( “uninstall_{$file}” )

In this article

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

do_action( "uninstall_{$file}" );

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.