-
Notifications
You must be signed in to change notification settings - Fork 15
notify_user_about_friend_request
Alex Kirk edited this page May 11, 2024
·
11 revisions
add_filter(
'notify_user_about_friend_request',
function (
$notify_user,
$user,
$friend_user
) {
// Your code here
return $notify_user;
},
10,
3
);
$notify_user
$user
$friend_user
apply_filters( 'notify_user_about_friend_request', $notify_user, $user, $friend_user )