PluginsProvider
Plugins Provider.
Description Description
Uses the live PluginsHelper.
Source Source
File: packages/woocommerce-admin/src/PluginsProvider/PluginsProvider.php
Methods Methods
- get_active_plugin_slugs — Get an array of active plugin slugs.
- get_plugin_data — Get plugin data.
- get_plugin_path_from_slug — Get the path to the plugin file relative to the plugins directory from the plugin slug.
- set_deactivated_plugin — Set the deactivated plugin. This is needed because the deactivated_plugin hook happens before the option is updated which means that getting the active plugins includes the deactivated plugin.