aam_uninstall_action
Purpose
Run during plugin uninstall cleanup.
Callback
- Type: Action.
- Arguments: none.
- Return: ignored.
Example
add_action('aam_uninstall_action', function () {
delete_option('myapp_aam_cache');
}, 10, 0);
Removes an application-owned option during AAM uninstall. Keep cleanup limited to data your integration owns.
See the complete hook list.