WC_Settings_API::get_field_key()publicWC 1.0

Prefix key for settings.

Method of the class: WC_Settings_API{}

No Hooks.

Return

String.

Usage

$WC_Settings_API = new WC_Settings_API();
$WC_Settings_API->get_field_key( $key );
$key(string) (required)
Field key.

WC_Settings_API::get_field_key() code WC 8.7.0

public function get_field_key( $key ) {
	return $this->plugin_id . $this->id . '_' . $key;
}