WordPress at Your Fingertips
function is not described

WC_CLI_Tracker_Command::register_commands() public WC 1.0

Registers a command for showing WooCommerce Tracker snapshot data.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_CLI_Tracker_Command::register_commands();

Code of WC_CLI_Tracker_Command::register_commands() WC 5.9.0

public static function register_commands() {
	WP_CLI::add_command( 'wc tracker snapshot', array( 'WC_CLI_Tracker_Command', 'show_tracker_snapshot' ) );
}