delete_plugins ( $plugins, $deprecated = '' )
- (array) $plugins List of plugins to delete.
- (string) $deprecated Deprecated.
- (bool|null|WP_Error) True on success, false is $plugins is empty, WP_Error on failure. Null if filesystem credentials are required to proceed.
- Introduced in WordPress: 2.6.0
- Deprecated in WordPress: —
Remove directory and files of a plugin for a list of plugins.