WC_Settings_API::get_field_key()
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() WC Settings API::get field key code WC 8.7.0
public function get_field_key( $key ) { return $this->plugin_id . $this->id . '_' . $key; }