WC_CLI_Update_Command::register_commands
Registers the update command.
Method of the class: WC_CLI_Update_Command{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_CLI_Update_Command::register_commands();
WC_CLI_Update_Command::register_commands() WC CLI Update Command::register commands code WC 10.6.2
public static function register_commands() {
WC()->call_static( WP_CLI::class, 'add_command', 'wc update', array( 'WC_CLI_Update_Command', 'update' ) );
}