wpc_init
The WooCommerce Putler Connector wpc init function.
Description
wpc_init();
Usage
if ( !function_exists( 'wpc_init' ) ) { require_once ABSPATH . PLUGINDIR . 'woocommerce-putler-connector/woocommerce-putler-connector.php'; } // NOTICE! Understand what this does before running. $result = wpc_init();
Defined (1)
The function is defined in the following location(s).
- /woocommerce-putler-connector.php
- function wpc_init() {
- include_once 'classes/class.putler-connector.php';
- $GLOBALS[putler_connector] = Putler_Connector::getInstance();
- include_once 'classes/class.putler-connector-woocommerce.php';
- if ( !isset( $GLOBALS[woocommerce_putler_connector] ) ) {
- $GLOBALS[woocommerce_putler_connector] = new WooCommerce_Putler_Connector();
- }
- }