Support

Account

Home Forums Gutenberg Add function into acf block template

Unread

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.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.