WordPress at a glance

wc() WC 1.0

Main instance of WooCommerce.

No Hooks.

Return

Nothing (null).

Usage

// Global for backwards compatibility.;

Code of wc: woocommerce/woocommerce.php VER 3.6.1

<?php
// Global for backwards compatibility.
$GLOBALS['woocommerce'] = WC();

Related Functions

From category: WooCommerce

No comments
    Hello, !     Log In . Register