WordPress at Your Fingertips
function is not described

WC_Settings_API::get_field_default() public WC 1.0

Get a fields default value. Defaults to "" if not set.

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

No Hooks.

Return

String.

Usage

$WC_Settings_API = new WC_Settings_API();
$WC_Settings_API->get_field_default( $field );
$field(array) (required)
Field key.

Code of WC_Settings_API::get_field_default() WC 5.5.2

<?php
public function get_field_default( $field ) {
	return empty( $field['default'] ) ? '' : $field['default'];
}