Filter: um_profile_permalink

Filters user profile URL.

Parameters:
Name Type Description
$profile_url string

Profile URL.

$page_id int

Profile Page ID.

$slug string

User profile slug.

Since:
  • 2.6.3
Source:
Returns:

Profile URL.

Type
string
Example

Change profile URL to your custom link.

function my_um_profile_permalink( $profile_url, $page_id, $slug ) {
    $profile_url = '{some your custom URL}'; // replace to your custom link.
    return $profile_url;
}
add_filter( 'um_profile_permalink', 'my_um_profile_permalink', 10, 3 );