WC_CLI_Update_Command::register_commands()
Registers the update command.
Method of the class: WC_CLI_Update_Command{}
No Hooks.
Return
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 9.3.3
public static function register_commands() { WC()->call_static( WP_CLI::class, 'add_command', 'wc update', array( 'WC_CLI_Update_Command', 'update' ) ); }