You appear to be a bot. Output may be restricted
Description
Implement 'woocommerce_shipping_init' to load l10n versions and then initialise weight zone shippingThe class checking for WC_Shipping_Method is just belt and braces.
Usage
oik_weight_zone_woocommerce_shipping_init();
Parameters
Returns
voidSource
File name: oik-weight-zone-shipping/oik-weight-zone-shipping.phpLines:
1 to 11 of 11
function oik_weight_zone_woocommerce_shipping_init() { if ( class_exists( 'WC_Shipping_Method' ) ) { load_plugin_textdomain( "oik-weight-zone-shipping", false, 'oik-weight-zone-shipping/languages' ); if ( !class_exists( "OIK_Weight_Zone_Shipping" ) ) { require_once( dirname( __FILE__ ) . "/class-oik-weight-zone-shipping.php" ); } if ( !class_exists( "OIK_Weight_Zone_Shipping_Multi_Rate" ) ) { require_once( dirname( __FILE__ ) . "/class-oik-weight-zone-shipping-multi-rate.php" ); } } }View on GitHub View on Trac