Hide Fieldgroup in custom content type
There are alot of guides that teaches you how to hide fieldgroups with hook_form_alter function. However, those only works on in-built fieldgroups, such as Author Information.
Here's a very useful function that actually hides custom fieldgroups which you have created from the Field UI: