WC_Integration_MaxMind_Geolocation::init_form_fields()publicWC 1.0

Initializes the settings fields.

Метод класса: WC_Integration_MaxMind_Geolocation{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код WC_Integration_MaxMind_Geolocation::init_form_fields() 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'     => '',
		),
	);
}