plugin (tag)

activate_plugins()

Activates the specified plugins.

deactivate_plugins()

Deactivates the specified plugins. You can specify deactivation parameters.

get_plugin_data()

Gets plugin data (specified in the headers) from the given path to the main plugin file.

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 relative path to the main plugin file (from the plugins or MU plugins directory) based on the provided file path.

validate_plugin_requirements()

Checks that the current plugin meets the necessary requirements for PHP version, WordPress, and active dependent plugins.

wp_get_active_and_valid_plugins()

Gets an array of paths to the main files of active plugins.