um_edit_label_all_fields

Hook type

Filter

Description

Change field label on view by field $key

Parameters

$label

(string) Field Label

$data

(array) Field Data

Usage

add_filter( 'um_edit_label_all_fields', 'function_name', 10, 2 );

Examples

<?php
add_filter( 'um_edit_label_all_fields', 'my_edit_label_all_fields', 10, 2 );
function my_edit_label_all_fields( $label, $data ) {
    // your code here
return $label;
}
?>

Change Log

Since: 2.0

Source

um_edit_label_all_fields is located in includes/core/class-fields.php::line 424