delete_plugins


delete_plugins ( $plugins, $deprecated = '' )

Parameters:
  • (array) $plugins List of plugins to delete.
  • (string) $deprecated Deprecated.
Returns:
  • (bool|null|WP_Error) True on success, false is $plugins is empty, WP_Error on failure. Null if filesystem credentials are required to proceed.
Defined at:

Description

Remove directory and files of a plugin for a list of plugins.

Related Functions

get_plugins, deactivate_plugins, delete_option, wp_ajax_delete_plugin, wp_delete_link

Top Google Results

User discussions

wpseek mobile