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.


Top ↑

Return Return

(bool) True if we should stop initialization, otherwise false.


Top ↑

Source Source

File: vendor/automattic/jetpack-autoloader/src/class-latest-autoloader-guard.php


			

Top ↑

User Contributed Notes User Contributed Notes

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