Home Forums Gutenberg Add function into acf block template


Add function into acf block template

  • Hello,

    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.