You appear to be a bot. Output may be restricted
Description
Usage
OIK_Shipping::init();
Parameters
Returns
void
Source
File name: oik-weightcountry-shipping/oik-weightcountry-shipping.php
Lines:
1 to 19 of 19
function init() { $this->init_form_fields(); $this->init_settings(); $this->enabled = $this->get_option('enabled'); $this->title = $this->get_option('title'); $this->availability = 'specific'; $this->country_group_no = $this->get_option('country_group_no'); $this->countries = $this->get_option('countries'); $this->type = 'order'; $this->tax_status = $this->get_option('tax_status'); $this->fee = $this->get_option('fee'); $this->options = isset( $this->settings['options'] ) ? $this->settings['options'] : ''; $this->options = (array) explode( "\n", $this->options ); if (empty($this->countries)) { $this->availability = $this->settings['availability'] = 'all'; } $this->countrygroup_title = $this->title; }