Emails login credentials to a newly-registered user.
Description
A new user registration notification is also sent to admin email.
Parameters
$user_id
intrequired- User ID.
$deprecated
nulloptional- Not used (argument deprecated).
Default:
null
$notify
stringoptional- Type of notification that should happen. Accepts
'admin'
or an empty string (admin only),'user'
, or'both'
(admin and user).Default:
''