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 WC 3.6.4

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

Related Functions

From category: WooCommerce

No comments
    Hello, !     Log In . Register