um_extend_field_classes

Hook type

Filter

Description

Change field classes

Parameters

$classes

(string) Field Classes

$key

(string) Field Key

$data

(array) Field Data

Usage

add_filter( 'um_extend_field_classes', 'function_name', 10, 3 );

Examples

<?php
add_filter( 'um_extend_field_classes', 'my_extend_field_classes', 10, 3 );
function my_extend_field_classes( $classes, $key, $data ) {
    // your code here
return $classes;
}
?>

Change Log

Since: 2.0

Source

um_extend_field_classes is located in includes/core/class-fields.php::line 511