Skip to content

notify_user_about_friend_request

Alex Kirk edited this page Apr 8, 2024 · 12 revisions

Generic Example

add_filter(
    'notify_user_about_friend_request',
    function (
        $notify_user,
        $user
    ) {
        // Your code here
        return $notify_user;
    },
    10,
    2
);

Parameters

  • $notify_user
  • $user

Files

Hooks

Clone this wiki locally