Support

Account

Home Forums Backend Issues (wp-admin) How to add ACF field groups to "post object" post types? Reply To: How to add ACF field groups to "post object" post types?

  • Only four years late ๐Ÿ˜‰

    add_filter('acf/get_post_types', function ($post_types) {
    	if(!in_array('acf-field-group', $post_types)){
    		$post_types[] = 'acf-field-group';
    	}
    	return $post_types;
    }, 10, 1);