um_user_{$data}_case

Hook type

Filter

Description

Change user name on um_user function

Parameters

$name

(string) User Name

Usage

add_filter( 'um_user_{$data}_case', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_user_{$data}_case', 'my_user_case', 10, 1 );
function my_user_case( $name ) {
    // your code here
return $name;
}
?>

Change Log

Since: 2.0

Source

um_user_{$data}_case is located in includes/um-short-functions.php::line 1861