WC_CLI::includes()
Load command files.
Method of the class: WC_CLI{}
No Hooks.
Return
null
. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->includes();
WC_CLI::includes() WC CLI::includes code WC 9.4.2
private function includes() { require_once __DIR__ . '/cli/class-wc-cli-runner.php'; require_once __DIR__ . '/cli/class-wc-cli-rest-command.php'; require_once __DIR__ . '/cli/class-wc-cli-tool-command.php'; require_once __DIR__ . '/cli/class-wc-cli-update-command.php'; require_once __DIR__ . '/cli/class-wc-cli-tracker-command.php'; require_once __DIR__ . '/cli/class-wc-cli-com-command.php'; require_once __DIR__ . '/cli/class-wc-cli-com-extension-command.php'; $this->maybe_include_blueprint_cli(); }