Home › Forums › Bug Reports › acf/prepare_field incomplete? › Reply To: acf/prepare_field incomplete?
The only thing that ACF gives you the ability to add is a wrapper class on the field container
<div clas"acf-field acf-field-date-picker ... my-custom-class"...
This is where the value of $field['wrapper']['class']
will go.
There has never been any ability to add or alter classes on any of the nested elements of a field, so I’d say this is by design.
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.