WC_Integration_MaxMind_Geolocation::init_form_fields()publicWC 1.0

Initializes the settings fields.

Method of the class: WC_Integration_MaxMind_Geolocation{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_Integration_MaxMind_Geolocation::init_form_fields() code WC 8.7.0

public function init_form_fields() {
	$this->form_fields = array(
		'license_key' => array(
			'title'       => __( 'MaxMind License Key', 'woocommerce' ),
			'type'        => 'password',
			'description' => sprintf(
				/* translators: %1$s: Documentation URL */
				__(
					'The key that will be used when dealing with MaxMind Geolocation services. You can read how to generate one in <a href="%1$s">MaxMind Geolocation Integration documentation</a>.',
					'woocommerce'
				),
				'https://woo.com/document/maxmind-geolocation-integration/'
			),
			'desc_tip'    => false,
			'default'     => '',
		),
	);
}