Extension API

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

One thought on “Extension API

  1. Pingback: Labs | The very first field extension for Simple Fields comes from Earth People

Leave a Reply