wp_roles_init WordPress Action Hook
The wp_roles_init hook is used to initialize the roles for a user. This hook is called during the user registration process.
do_action( 'wp_roles_init', WP_Roles $wp_roles ) #
After the roles have been initialized, allow plugins to add their own roles.
Parameters
Source
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |