Skip to content

notify_new_friend_request

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

Generic Example

add_action(
    'notify_new_friend_request',
    function ( newUser($user_id) ) {
        // Your code here
    }
);

Parameters

  • newUser($user_id)

Files

do_action( 'notify_new_friend_request', new User( $user_id ) )

Hooks

Clone this wiki locally