WP_CLI

get_bootstrap_steps()WP-CLI 1.0

Get the list of ordered steps that need to be processed to bootstrap WP-CLI.

Each entry is a fully qualified class name for a class implementing the WP_CLI\Bootstrap\BootstrapStep interface.

Хуков нет.

Возвращает

Строку[].

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

get_bootstrap_steps();

Код get_bootstrap_steps() WP-CLI 2.8.0-alpha

function get_bootstrap_steps() {
	return [
		'WP_CLI\Bootstrap\DeclareFallbackFunctions',
		'WP_CLI\Bootstrap\LoadUtilityFunctions',
		'WP_CLI\Bootstrap\LoadDispatcher',
		'WP_CLI\Bootstrap\DeclareMainClass',
		'WP_CLI\Bootstrap\DeclareAbstractBaseCommand',
		'WP_CLI\Bootstrap\IncludeFrameworkAutoloader',
		'WP_CLI\Bootstrap\ConfigureRunner',
		'WP_CLI\Bootstrap\InitializeColorization',
		'WP_CLI\Bootstrap\InitializeLogger',
		'WP_CLI\Bootstrap\DefineProtectedCommands',
		'WP_CLI\Bootstrap\LoadExecCommand',
		'WP_CLI\Bootstrap\LoadRequiredCommand',
		'WP_CLI\Bootstrap\IncludePackageAutoloader',
		'WP_CLI\Bootstrap\IncludeFallbackAutoloader',
		'WP_CLI\Bootstrap\RegisterFrameworkCommands',
		'WP_CLI\Bootstrap\RegisterDeferredCommands',
		'WP_CLI\Bootstrap\InitializeContexts',
		'WP_CLI\Bootstrap\LaunchRunner',
	];
}