Function __global->option_value_from_field_array
Definitions
sources/fields.php
- Parse field options into a setting map and return a specific value from it.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$field | array | required parameter | N/A | N/A | Field map |
$name | string | required parameter | N/A | N/A | Field name |
$default | string | Blank (empty string) | N/A | N/A | Field default value |
Return
- The value
- Type: string
- Set: N/A
- Range: N/A