I want to add some information to the title of a relationship field that resides in several ACF Blocks. The field is initially created in a field group called “Media” and this field is then cloned to different Blocks. It sometimes is nested in a group and sometimes it’s on the top level of the block.
The title of the field is ‘download_post_object’. Is there some way to globally apply the acf/fields/relationship/result filter to all the occurrences of this field throughout the blocks? It seems like the filter is using a $post->ID argument when selecting the field that should be modified, but in my example I would simply like to apply the filter on all occurrences. Or can I in some way target the block instead of the post for this filter?
Is there any way to echo fields from the posts listed in the relationship field? My idea is to output a field called “type” that lives within the post listed. So the label in the relationship field would be:
Post title > Type field
To be exact, the posts listed in the relationship field is of a custom post type that has this “type” ACF field added to them.