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