WC_CLI_Update_Command::register_commands()
Registers the update command.
Метод класса: WC_CLI_Update_Command{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = WC_CLI_Update_Command::register_commands();
Код WC_CLI_Update_Command::register_commands() WC CLI Update Command::register commands WC 9.8.2
public static function register_commands() { WC()->call_static( WP_CLI::class, 'add_command', 'wc update', array( 'WC_CLI_Update_Command', 'update' ) ); }