WC_Shipping_Legacy_International_Delivery::init_form_fields()
Initialise settings form fields.
Description Description
Source Source
File: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php
public function init_form_fields() {
parent::init_form_fields();
$this->form_fields['availability'] = array(
'title' => __( 'Availability', 'woocommerce' ),
'type' => 'select',
'class' => 'wc-enhanced-select',
'description' => '',
'default' => 'including',
'options' => array(
'including' => __( 'Selected countries', 'woocommerce' ),
'excluding' => __( 'Excluding selected countries', 'woocommerce' ),
),
);
}