Support

Account

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.