php/WP_CLI/Bootstrap/RegisterDeferredCommands.php
public function add_deferred_commands() {
		$deferred_additions = \WP_CLI::get_deferred_additions();

		foreach ( $deferred_additions as $name => $addition ) {
			\WP_CLI::debug(
				sprintf(
					'Adding deferred command: %s => %s',
					$name,
					json_encode( $addition )
				),
				'bootstrap'
			);

			\WP_CLI::add_command(
				$name,
				$addition['callable'],
				$addition['args']
			);
		}
	}
public function add_deferred_commands() {
		$deferred_additions = \WP_CLI::get_deferred_additions();

		foreach ( $deferred_additions as $name => $addition ) {
			\WP_CLI::debug(
				sprintf(
					'Adding deferred command: %s => %s',
					$name,
					json_encode( $addition )
				),
				'bootstrap'
			);

			\WP_CLI::add_command(
				$name,
				$addition['callable'],
				$addition['args']
			);
		}
	}
public function add_deferred_commands ( ) { $ deferred_additions = \ WP_CLI :: get_deferred_additions ( ) ; foreach ( $ deferred_additions as $ name => $ addition ) { \ WP_CLI :: debug ( sprintf ( 'Adding deferred command: %s => %s' , $ name , json_encode ( $ addition ) ) , 'bootstrap' ) ; \ WP_CLI :: add_command ( $ name , $ addition [ 'callable' ] , $ addition [ 'args' ] ) ; } }
Add deferred commands that are still waiting to be processed.
Add deferred commands that are still waiting to be processed .