wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



invite_user › WordPress Action Hooks

Da4.4.0
Deprecaton/a
do_action( 'invite_user', $user_id, $role, $newuser_key )
Parametri: (3)
  • (int) $user_id The invited user's ID.
    Richiesto:
  • (array) $role Array containing role information for the invited user.
    Richiesto:
  • (string) $newuser_key The key of the invitation.
    Richiesto:
Definito a:
Codex:

Fires immediately after an existing user is invited to join the site, but before the notification is sent.





Sorgenti

do_action( 'invite_user', $user_id, $role, $newuser_key );