I would like to include a function directly in the template of my ACF block (for portability purposes). Currently, it is not made for that so I have an error.
To explain my approach, I want to add the filter ‘acf/load_field’ in order to automatically populate a select acf field. It’s working outside the block but it would be more convenient for me if I could link it directly to my block and keep it for all my projects.
Has anyone looked into this before?
Thank you ! 🙂
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
After @keithdevon mentioned building out an accessible @wp_acf accordion block I went through my starter theme, setup a new site and just tabbed through it... try it, you'll end looking at your websites in a completely different light! Fully accessible navigation and content now.