Home › Forums › Front-end Issues › Overwrite core function acf_render_field_wrap › Reply To: Overwrite core function acf_render_field_wrap
No, there isn’t a way to override the function.
ACF provides a wrapper class field. You can target labels and fields in the wrapper like
.my-wrapper-class .acf-label {}
.my-wrapper-class .acf-field input {}
/* etc... */
If you cannot figure out how to do what you want like that and you must add the classes then these additions would have to be done using JavaScript.
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.