WC_CLI_Tracker_Command::register_commands()
Registers a command for showing WooCommerce Tracker snapshot data.
Method of the class: WC_CLI_Tracker_Command{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WC_CLI_Tracker_Command::register_commands();
WC_CLI_Tracker_Command::register_commands() WC CLI Tracker Command::register commands code WC 9.4.2
public static function register_commands() { WP_CLI::add_command( 'wc tracker snapshot', array( 'WC_CLI_Tracker_Command', 'show_tracker_snapshot' ) ); }