Filter: um_edit_profile_url

apply_filters( 'um_edit_profile_url', $url, $user_id ) → {string}

Filters change edit profile URL.

Parameters:
Name Type Description
$url string

Edit profile URL.

$user_id int

User ID.

Since:
  • 2.6.8
Source:
Returns:

Edit profile URL.

Type
string
Example

Add/remove your custom $_GET attribute to all links.

function my_um_edit_profile_url( $url, $user_id ) {
    $url = add_query_arg( '{attr_value}', '{attr_key}', $url ); // replace to your custom value and key.
    return $url;
}
add_filter( 'um_edit_profile_url', 'my_um_edit_profile_url', 10, 2 );