WC_CLI_Tracker_Command
in package
Allows access to tracker snapshot for transparency and debugging.
Tags
Table of Contents
- register_commands() : mixed
- Registers a command for showing WooCommerce Tracker snapshot data.
- show_tracker_snapshot() : mixed
- Dump tracker snapshot data to screen.
Methods
register_commands()
Registers a command for showing WooCommerce Tracker snapshot data.
public
static register_commands() : mixed
Return values
mixed —show_tracker_snapshot()
Dump tracker snapshot data to screen.
public
static show_tracker_snapshot(array<string|int, mixed> $args, array<string|int, mixed> $assoc_args) : mixed
EXAMPLES
wp wc tracker snapshot --format=yaml wp wc tracker snapshot --format=json
OPTIONS
[--format=
Parameters
- $args : array<string|int, mixed>
-
WP-CLI positional arguments.
- $assoc_args : array<string|int, mixed>
-
WP-CLI associative arguments.