WC_CLI_Update_Command::register_commands()public staticWC 1.0

Registers the update command.

Метод класса: WC_CLI_Update_Command{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$result = WC_CLI_Update_Command::register_commands();

Код WC_CLI_Update_Command::register_commands() WC 8.7.0

public static function register_commands() {
	WC()->call_static( WP_CLI::class, 'add_command', 'wc update', array( 'WC_CLI_Update_Command', 'update' ) );
}