PHP Class WC_Shipping_Legacy_International_Delivery

This class is here for backwards commpatility for methods existing before zones existed.
Deprecation: 2.6.0
Author: WooThemes
Inheritance: extends WC_Shipping_Legacy_Flat_Rate
Datei anzeigen Open project: woocommerce/woocommerce

Public Methods

Method Description
__construct ( ) Constructor.
get_option_key ( ) : string Return the name of the option in the WP DB.
init_form_fields ( ) Initialise settings form fields.
is_available ( array $package ) : boolean is_available function.

Method Details

__construct() public method

Constructor.
public __construct ( )

get_option_key() public method

Return the name of the option in the WP DB.
Since: 2.6.0
public get_option_key ( ) : string
return string

init_form_fields() public method

Initialise settings form fields.
public init_form_fields ( )

is_available() public method

is_available function.
public is_available ( array $package ) : boolean
$package array
return boolean