$version
$version : string
Fluent_Number_Field simple number field.
schema(string $value, array $data) : mixed
Notify the Fluent_Options class of the schema needed for this field type within the values array.
Generally this will be an empty string just to register the key in the array, but custom fields and things like multi selects will need this to be an array. Groups use this to define the nested fields as well.
string | $value | the current value that will be used. |
array | $data | field data as supplied by the section or group. |
schema value type
parse_args(array $a, array $b, string $filter) : array
Recursive array merging from a default and supplied array.
Very similar function to wp_parse_args
except it filters through the whole array tree.
array | $a | supplied value array. |
array | $b | default value array. |
string | $filter | optionally run the array through |