acf/field_wrapper_attributes

acf/field_wrapper_attributes

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.0.4

apply_filters('acf/field_wrapper_attributes') is found 1 times:

  • /includes/acf-field-functions.php line 731
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    *
     * @param   array $wrapper The wrapper attributes array.
     * @param   array $field The field array.
     */
    $wrapper = apply_filters( 'acf/field_wrapper_attributes', $wrapper, $field );
     
    // Append conditional logic attributes.
    if ( ! empty( $field['conditional_logic'] ) ) {
        $wrapper['data-conditions'] = $field['conditional_logic'];
    }
    if ( ! empty( $field['conditions'] ) ) {