um_view_label_{$key}

Hook type

Filter

Description

Change field label on view by field $key

Parameters

$label

(string) Field Label

Usage

add_filter( 'um_view_label_{$key}', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_view_label_{$key}', 'my_view_label', 10, 1 );
function my_view_label( $label ) {
    // your code here
return $label;
}
?>

Change Log

Since: 2.0

Source

um_view_label_{$key} is located in includes/core/class-fields.php::line 380