Advertisement

deactivate_plugins

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.

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

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.

Advertisement

get_plugin_data

Parses the plugin contents to retrieve plugin’s metadata.