A WordPress-centric search engine for devs and theme authors



wp_roles_init ›

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

After the roles have been initialized, allow plugins to add their own roles.





Source

do_action( 'wp_roles_init', $this );