-
Notifications
You must be signed in to change notification settings - Fork 17
friends_suggest_display_name
Alex Kirk edited this page Nov 22, 2024
·
12 revisions
add_filter(
'friends_suggest_display_name',
function (
$display_name_for_url,
string $url
) {
// Your code here
return $display_name_for_url;
},
10,
2
);
$display_name_for_url
-
string
$url
Other variable names:$friend_url
apply_filters( 'friends_suggest_display_name', User::get_display_name_for_url( $url ), $url )
apply_filters( 'friends_suggest_display_name', User::get_display_name_for_url( $friend_url ), $friend_url )