Helper function to create common field options that are used frequently in the field preview.
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. |