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.6

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

  • /includes/acf-field-functions.php line 731
    	 *
    	 * @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'] ) ) {