Deactivate a single plugin or multiple plugins.
activate_plugin
Attempts activation of plugin in a “sandbox” and redirects on success.
is_network_only_plugin
Checks for “Network: true” in the plugin header to see if this should be activated only as a network wide plugin. The plugin would also work when Multisite is not enabled.
is_plugin_active_for_network
Determines whether the plugin is active for the entire network.
Advertisement
is_plugin_inactive
Determines whether the plugin is inactive.
is_plugin_active
Determines whether a plugin is active.
_get_dropins
Returns drop-ins that WordPress uses.
get_dropins
Check the wp-content directory and retrieve all drop-ins with any plugin data.
Advertisement
_sort_uname_callback
Callback to sort array by a ‘Name’ key.
get_mu_plugins
Check the mu-plugins directory and retrieve all mu-plugin files with any plugin data.
get_plugins
Check the plugins directory and retrieve all plugin files with plugin data.
get_plugin_files
Get a list of a plugin’s files.
Advertisement
_get_plugin_data_markup_translate
Sanitizes plugin data, optionally adds markup, optionally translates.
get_plugin_data
Parses the plugin contents to retrieve plugin’s metadata.
install_plugin_information
Display plugin information in dialog box form.