Skip to content

1.3.0

Choose a tag to compare

@stian-overasen stian-overasen released this 25 Apr 05:28
· 12 commits to master since this release

Cleanup field group registration PR #89

  • Register field groups directly into core, just like we do with modules.
  • New filter hogan/field_group/<name>/args for overriding all field group parameters.
  • New filter hogan/field_group/default/supported_post_types for 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 the location parameter.)
  • Deprecated filters:
    • hogan/field_group/<name>/fields_before_flexible_content
    • hogan/field_group/<name>/fields_after_flexible_content
    • hogan/field_group/<name>/location
    • hogan/field_group/<name>/hide_on_screen
    • hogan/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.