Plugins_Handler
This class handles locating and caching all of the active plugins.
Description Description
Source Source
File: packages/woocommerce-blocks/vendor/jetpack-autoloader/class-plugins-handler.php
Methods Methods
- __construct — The constructor.
- cache_plugins — Saves the plugin list to the cache.
- get_active_plugins — Gets all of the active plugins we can find.
- get_cached_plugins — Gets all of the cached plugins if there are any.
- have_plugins_changed — Checks to see whether or not the plugin list given has changed when compared to the shared `$jetpack_autoloader_cached_plugin_paths` global. This allows us to deal with cases where the active list may change due to filtering.