The Simple Fields Extension API is used for adding more field types to Simple Fields.
You use the Extension API to:
- Create fields
- Create options for the field (visible when you select the field in the admin)
- Create output for edit post screen
- Modify return values
Check out the minimal example, the full example or try any of the existing field extensions to see what’s possible.
Actions
[php]
add_action("simple_fields_register_field_types", "simple_fields_field_googlemaps_register");
[/php]
Minimal example
Full example
Could you post an example how to add a dropdown field in options output with a sortable and draggable option list?
Pingback: Labs | The very first field extension for Simple Fields comes from Earth People