Latest_Autoloader_Guard::should_stop_init( string $current_plugin, string[] $plugins, bool $was_included_by_autoloader )
Indicates whether or not the autoloader should be initialized. Note that this function has the side-effect of actually loading the latest autoloader in the event that this is not it.
Description Description
Parameters Parameters
- $current_plugin
-
(Required) The current plugin we're checking.
- $plugins
-
(Required) The active plugins to check for autoloaders in.
- $was_included_by_autoloader
-
(Required) Indicates whether or not this autoloader was included by another.
Return Return
(bool) True if we should stop initialization, otherwise false.
Source Source
File: vendor/automattic/jetpack-autoloader/src/class-latest-autoloader-guard.php