WordPress at a glance
function is not described


Container::initialize_globals() private WC 1.0

Initializes any of the globals needed by the autoloader.

{} It's a method of the class: Container{}

No Hooks.


null. Nothing.


// private - for code of main (parent) class only
$result = $this->initialize_globals();

Code of Container::initialize_globals() WC 5.3.0

private function initialize_globals() {
	 * This global was retired in version 2.9. The value is set to 'false' to maintain
	 * compatibility with older versions of the autoloader.
	global $jetpack_autoloader_including_latest;
	$jetpack_autoloader_including_latest = false;

	// Not all plugins can be found using the locator. In cases where a plugin loads the autoloader
	// but was not discoverable, we will record them in this array to track them as "active".
	global $jetpack_autoloader_activating_plugins_paths;
	if ( ! isset( $jetpack_autoloader_activating_plugins_paths ) ) {
		$jetpack_autoloader_activating_plugins_paths = array();