WordPress at Your Fingertips
function is not described

WC() WC 2.1

Returns the main instance of WC.

No Hooks.

Return

WooCommerce.

Usage

WC() // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid;

Changelog

Since 2.1 Introduced.

Code of WC() WC 5.5.2

<?php
function WC() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
	return WooCommerce::instance();
}