Plugin_Locator
This class scans the WordPress installation to find active plugins.
Description Description
Source Source
File: vendor/automattic/jetpack-autoloader/src/class-plugin-locator.php
Methods Methods
- __construct — The constructor.
- convert_plugins_to_paths — Given an array of plugin slugs or paths, this will convert them to absolute paths and filter out the plugins that are not directory plugins. Note that array keys will also be included if they are plugin paths!
- find_current_plugin — Finds the path to the current plugin.
- find_using_option — Checks a given option for plugin paths.
- find_using_request_action — Checks for plugins in the `action` request parameter.