get_edit_user_link filter-hookWP 3.5.0

Filters the user edit link.

Usage

add_filter( 'get_edit_user_link', 'wp_kama_get_edit_user_link_filter', 10, 2 );

/**
 * Function for `get_edit_user_link` filter-hook.
 * 
 * @param string $link    The edit link.
 * @param int    $user_id User ID.
 *
 * @return string
 */
function wp_kama_get_edit_user_link_filter( $link, $user_id ){

	// filter...
	return $link;
}
$link(string)
The edit link.
$user_id(int)
User ID.

Changelog

Since 3.5.0 Introduced.

Where the hook is called

get_edit_user_link()
get_edit_user_link
wp-includes/link-template.php 1754
return apply_filters( 'get_edit_user_link', $link, $user->ID );

Where the hook is used in WordPress

Usage not found.