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



invite_user › WordPress Action Hooks

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 Array containing role information for the invited user.
    Erforderlich: Ja
  • (string) $newuser_key The key of the invitation.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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