1.3.0
Cleanup field group registration PR #89
- Register field groups directly into core, just like we do with modules.
- New filter
hogan/field_group/<name>/argsfor overriding all field group parameters. - New filter
hogan/field_group/default/supported_post_typesfor adding Hogan support to custom post types without the hassle of writing the location parameter correctly. (This filter is for the default field group only, custom field groups must define thelocationparameter.) - Deprecated filters:
hogan/field_group/<name>/fields_before_flexible_contenthogan/field_group/<name>/fields_after_flexible_contenthogan/field_group/<name>/locationhogan/field_group/<name>/hide_on_screenhogan/supported_post_types
- Deprecated helper functions:
hogan_deregister_default_field_group()hogan_register_field_group()
- Removed core function
get_field_group_default_location()
See readme for example code.