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



set_user_role › WordPress Action Hooks

Seit3.6.0
Veraltetn/v
do_action( 'set_user_role', $this->ID, $role, $old_roles )
Parameter: (3)
  • () user_id The user ID.
    Erforderlich: Ja
  • () role The new role.
    Erforderlich: Ja
  • () old_roles An array of the user's previous roles.
    Erforderlich: Ja
Definiert in:
Codex:

Fires after the user's role has changed.





Quellcode

do_action( 'set_user_role', $this->ID, $role, $old_roles );