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



add_user_role › WordPress Action Hooks

Da4.3.0
Deprecaton/a
› do_action( 'add_user_role', $this->ID, $role )
Parametri: (2)
  • () user_id The user ID.
    Richiesto: Sì
  • () role The new role.
    Richiesto: Sì
Definito a:
Codex:

Fires immediately after the user has been given a new role.





Sorgenti

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