I have a need to create a link to another ACF field group. However ACF field groups do not appear as an optional “post type” to link to, when I choose a “post object” field type.
Is there a way to add them?
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);