addUserAction( /* type */ 'settings', /* action */ 'delete_all', /* ns */ My::id(), /* desc */ __('delete all settings') ); $uninstaller->addUserAction( /* type */ 'plugins', /* action */ 'delete', /* ns */ My::id(), /* desc */ __('delete plugin files') ); $uninstaller->addUserAction( /* type */ 'versions', /* action */ 'delete', /* ns */ My::id(), /* desc */ __('delete the version number') ); $uninstaller->addDirectAction( /* type */ 'settings', /* action */ 'delete_all', /* ns */ My::id(), /* desc */ sprintf(__('delete all %s settings'), My::id()) ); $uninstaller->addDirectAction( /* type */ 'versions', /* action */ 'delete', /* ns */ My::id(), /* desc */ sprintf(__('delete %s version number'), My::id()) ); $uninstaller->addDirectAction( /* type */ 'plugins', /* action */ 'delete', /* ns */ My::id(), /* desc */ sprintf(__('delete %s plugin files'), My::id()) ); return true; } }