Helper function to create field option elements.
Description
Field option elements are pieces that help create a field option.
They are used to quickly build field options.
Parameters
$optionstringrequired- Field option to render.
$fieldarrayrequired- Field data and settings.
$argsarrayoptional- Field preview arguments.
Default:
array() $echobooleanoptional- Print or return the value. Print by default.
Default:
true
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |