You appear to be a bot. Output may be restricted
Description
Usage
OIK_Shipping::display_country_groups();
Parameters
Returns
void
Source
File name: oik-weightcountry-shipping/oik-weightcountry-shipping.php
Lines:
1 to 18 of 18
function display_country_groups() { $woocommerce = function_exists('WC') ? WC() : $GLOBALS['woocommerce']; $shippingCountries = method_exists($woocommerce->countries, 'get_shipping_countries') ? $woocommerce->countries->get_shipping_countries() : $woocommerce->countries->countries; $number = $this->country_group_no; for ( $counter = 1; $number >= $counter; $counter++ ) { $this->form_fields['countries'.$counter] = array( 'title' => sprintf(__( 'Country Group %s', 'oik-weightcountry-shipping' ), $counter), 'type' => 'multiselect', 'class' => 'chosen_select', 'css' => 'width: 450px;', 'default' => '', 'options' => $shippingCountries ); } }