Currently there is a hook that is invoked when a new group settings tab is added to the meta boxes at the bottom of the ACF Field Group Editor. I'd like to propose that this hook be invoked for not just new tabs, but existing tabs as well including
location_rules
,
presentation
, and
group_settings
. This should be a simple enough change by duplicating this line (https://github.com/AdvancedCustomFields/acf/blob/master/includes/admin/views/acf-field-group/options.php#L275) to each
case
or adding two new pre/post hooks such as
acf/field_group/pre_render_group_settings_tab/<tab_key>
and
acf/field_group/post_render_group_settings_tab/<tab_key>
.
Why? I would like to extend the Presentation settings tab to include custom presentation fields/info rather than creating another presentation section using the existing
acf/field_group/render_group_settings_tab/<tab_key>
hook which can lead to confusion when navigating the admin field editor.
Thanks!