um_clean_user_basename_filter

Hook type

Filter

Description

Change clean user basename

Parameters

$basename

(string) User basename

$raw_basename

(string) RAW user basename

Usage

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

Examples

<?php
add_filter( 'um_clean_user_basename_filter', 'my_clean_user_basename', 10, 2 );
function my_clean_user_basename( $basename, $raw_basename ) {
    // your code here
return $basename;
}
?>

Change Log

Since: 2.0

Source

um_clean_user_basename_filter is located in includes/um-short-functions.php::line 100