WordPress at Your Fingertips

plugin (tag)

activate_plugins()

Activates the specified plugins.

deactivate_plugins()

Deactivate a single plugin or multiple plugins.

get_plugin_data()

Parses the plugin contents to retrieve plugin's metadata.

get_plugins()

Gets all plugins data (active and inactive): file, name, author, etc. Works with the plugins directory.

is_plugin_active()

Determines whether a plugin is active. Works in the dashboard only. Conditional tag.

plugin_basename()

Gets the basename of a plugin.

wp_get_active_and_valid_plugins()

Retrieve an array of active and valid plugin files.