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


			

Top ↑

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.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.