Unfortunately, a lot of people need a custom code that’s different from the one in the documentation. The documentation is only a guide for you to create your own code. That’s why showing the sample code, which not all people use it, is not a good idea.
I hope this makes sense. Thanks!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users