Support

Account

Home Forums Backend Issues (wp-admin) Filter display options for field group? Reply To: Filter display options for field group?

  • Hi @mishtershmart

    Good question. I haven’t tried to do this, so I’m not 100% if it is possible, but there are 2 filters which you may find useful.

    You will find all the source code in ‘core/controllers/field_group.php’.

    The first filter is ‘acf/get_field_groups’
    Hooking into this may allow you to re-order the array and place your field group in question at the start of the array. ACF will then use it’s CSS over any others

    The other is ‘acf/field_group/get_options’
    This will allow you to customize the hide_on_screen array for any field group. Perhaps you could override all field groups settings?

    Thanks
    E