WordPress at Your Fingertips
function is not described

WC_Shipping_Legacy_International_Delivery::init_form_fields() public WC 1.0

Initialise settings form fields.

{} It's a method of the class: WC_Shipping_Legacy_International_Delivery{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Shipping_Legacy_International_Delivery = new WC_Shipping_Legacy_International_Delivery();
$WC_Shipping_Legacy_International_Delivery->init_form_fields();

Code of WC_Shipping_Legacy_International_Delivery::init_form_fields() WC 5.9.0

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' ),
		),
	);
}