fewbricks\acf\field_group::get_setting PHP Method

get_setting() public method

public get_setting ( $key, string $default_value = '' ) : string
$key
$default_value string
return string
    public function get_setting($key, $default_value = '')
    {
        $value = $default_value;
        if (isset($this->settings[$key])) {
            $value = $this->settings[$key];
        }
        return $value;
    }