WooCommerce Code Reference

Search results

WC_CLI_Tool_Command

Hooks up our system status tools to the CLI.

Forked from wp-cli/restful (by Daniel Bachhuber, released under the MIT license https://opensource.org/licenses/MIT). https://github.com/wp-cli/restful

Table of Contents

register_commands() Registers just a 'list' and 'run' command to the WC CLI since we only want to enable certain actions on the system status tools endpoints. mixed

Methods

register_commands()

Registers just a 'list' and 'run' command to the WC CLI since we only want to enable certain actions on the system status tools endpoints.

public static register_commands( ) : mixed
Return values
mixed
Back to the top