WordPress at Your Fingertips
function is not described

WC_CLI_Update_Command::register_commands() public WC 1.0

Registers the update command.

{} It's a method of the class: WC_CLI_Update_Command{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_CLI_Update_Command::register_commands();

Code of WC_CLI_Update_Command::register_commands() WC 5.9.0

public static function register_commands() {
	WP_CLI::add_command( 'wc update', array( 'WC_CLI_Update_Command', 'update' ) );
}