WordPress at Your Fingertips

WC() WC 1.0

Main instance of WooCommerce.

{{desc}}

No Hooks.

Return

WooCommerce.

Usage

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

Changelog

Since 2.1 Introduced.

Code of WC() WC 6.1.0

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

WooCommerce

No comments
    Log In