Filter: um_permalink_base_before_filter

Filters the base user permalink value before cleaning.

Parameters:
Name Type Description
$permalink string

User Profile permalink.

Since:
  • 1.3.x
Source:
Returns:

User Profile permalink.

Type
string
Example

Change base permalink before cleaning.

function my_permalink_base_before( $permalink ) {
    // your code here
    return $permalink;
}
add_filter( 'um_permalink_base_before_filter', 'my_permalink_base_before' );