wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_roles_init › WordPress Action Hooks

Since4.7.0
Deprecatedn/a
do_action( 'wp_roles_init', $this )
Parameters:
  • () wp_roles A reference to the WP_Roles object.
    Required: Yes
Defined at:
Codex:

Fires after the roles have been initialized, allowing plugins to add their own roles.





Source

do_action( 'wp_roles_init', $this );