WooCommerce Code Reference

WC_CLI
in package

CLI class.

Table of Contents

__construct()  : mixed
Load required files and hooks to make the CLI work.
hooks()  : mixed
Sets up and hooks WP CLI to our CLI code.
includes()  : mixed
Load command files.
maybe_include_blueprint_cli()  : mixed
Include Blueprint CLI if it's available.

Methods

__construct()

Load required files and hooks to make the CLI work.

public __construct() : mixed
Return values
mixed

hooks()

Sets up and hooks WP CLI to our CLI code.

private hooks() : mixed
Return values
mixed

maybe_include_blueprint_cli()

Include Blueprint CLI if it's available.

private maybe_include_blueprint_cli() : mixed
Return values
mixed