You appear to be a bot. Output may be restricted
Description
Returns the rates tableIf it's not an array then we treat it as an unconverted options string.
Usage
$array = OIK_Weight_Zone_Shipping::get_rates();
Parameters
Returns
array internal representation of the rates tableTO DO
What if it's not set?Source
File name: oik-weight-zone-shipping/class-oik-weight-zone-shipping.phpLines:
1 to 12 of 12
function get_rates() { $rates = null; if ( isset( $this->instance_settings['rates_table'] ) ) { $rates = $this->instance_settings['rates_table']; } //bw_trace2( $rates, "rates", false ); if ( !$rates || !is_array( $rates) ) { $this->delimiters = $this->dot_rate_delimiters; $rates = $this->get_rates_table( $rates ); } return $rates; }View on GitHub View on Trac