WordPress at Your Fingertips
function is not described

WC_Integration_MaxMind_Geolocation::init_form_fields() public WC 1.0

Initializes the settings fields.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Integration_MaxMind_Geolocation::init_form_fields() WC 5.9.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://docs.woocommerce.com/document/maxmind-geolocation-integration/'
			),
			'desc_tip'    => false,
			'default'     => '',
		),
	);
}