The code involve would be quite complex. You would need to create some type of a recursive function to go both up and down the relationships and build arrays with nested arrays holding all of the data and/or display that data. You’d probably also need to use an output buffer, or potentially several output buffers, to build the content.
I can’t give you any example code because it would take many hours to come up with something and I don’t know of any examples of doing something like this.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Sorry for the issues with ACF's API SSL certificate this morning. We've resolved it and your activations and downloads should be back to normal again. Thanks! ^LG— Advanced Custom Fields (@wp_acf) November 2, 2022
© 2022 Advanced Custom Fields.