Getfieldsfortype fix for acf 4.0+

Uses global acf_register_field_group - broke post-type checking, so
displays all registered fields