I managed to remove a group via the metabox removal code
remove_meta_box('acf-group_58638dba80441', 'your-custom-post-type-here', 'normal');
‘normal` can also be ‘side’ depending on the position.
See https://support.advancedcustomfields.com/forums/topic/remove-a-metabox-from-edit-page/
Is this what helps y’all?
@omikr0n please use “acf/get_field_group” because the code snippet uses an incorrect “acf/field_group”.
But I still can’t seem to hide the group through PHP with this filter.
Even if I’m setting the $group[‘active’] to false.