WC_Integration_MaxMind_Geolocation::init_form_fields()
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() WC Integration MaxMind Geolocation::init form fields code WC 9.7.1
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://woocommerce.com/document/maxmind-geolocation-integration/' ), 'desc_tip' => false, 'default' => '', ), ); }