Returns the main instance of WC.

Description Description

Return Return


Top ↑

Source Source

File: woocommerce.php

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

Top ↑

Changelog Changelog

Version Description
2.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.