Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



invite_user ›

Seit4.4.0
Veraltetn/v
do_action( 'invite_user', $user_id, $role, $newuser_key )
Parameter: (3)
  • (int) $user_id The invited user's ID.
    Erforderlich: Ja
  • (array) $role The role of invited user.
    Erforderlich: Ja
  • (string) $newuser_key The key of the invitation.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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