Home › Forums › Gutenberg › Sudden prefix: wp-block-acf- › Reply To: Sudden prefix: wp-block-acf-
Nvm, I think I got it:
I had already tried adding the class to the property:
$acf_object_attributes['wpClassName']
(as you can see in my original post)
But I had forgotten to also use output this value in the template: $block[‘wpClassName’], rather than expecting $block[‘className’] to have changed.
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!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.