WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Получай пассивный доход от сайта с помощью браузерных PUSH уведомлений
функция не описана

Automattic\Jetpack\Autoloader\jpe7838abe751421865f42aa61338ab306

Autoloader_Handler::is_initializing() public WC 1.0

Checks to see whether or not an autoloader is currently in the process of initializing.

{} Это метод класса: Autoloader_Handler{}

Хуков нет.

Возвращает

true|false. Ничего.

Использование

$Autoloader_Handler = new Autoloader_Handler();
$Autoloader_Handler->is_initializing();

Код Autoloader_Handler::is_initializing() WC 5.2.2

<?php
public function is_initializing() {
	// If no version has been set it means that no autoloader has started initializing yet.
	global $jetpack_autoloader_latest_version;
	if ( ! isset( $jetpack_autoloader_latest_version ) ) {
		return false;
	}

	// When the version is set but the classmap is not it ALWAYS means that this is the
	// latest autoloader and is being included by an older one.
	global $jetpack_packages_classmap;
	if ( empty( $jetpack_packages_classmap ) ) {
		return true;
	}

	// Version 2.4.0 added a new global and altered the reset semantics. We need to check
	// the other global as well since it may also point at initialization.
	// Note: We don't need to check for the class first because every autoloader that
	// will set the latest version global requires this class in the classmap.
	$replacing_version = $jetpack_packages_classmap[ AutoloadGenerator::class ]['version'];
	if ( $this->version_selector->is_dev_version( $replacing_version ) || version_compare( $replacing_version, '2.4.0.0', '>=' ) ) {
		global $jetpack_autoloader_loader;
		if ( ! isset( $jetpack_autoloader_loader ) ) {
			return true;
		}
	}

	return false;
}