Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
wp_roles_init

WordPress version history for wp_roles_init

This database has information for all major versions from WP 1.2.1 through 4.4.

Version File Line Type
4.7 wp-includes/class-wp-roles.php 138 View in context action
4.8 wp-includes/class-wp-roles.php 138 View in context action
4.9 wp-includes/class-wp-roles.php 290 View in context action
5.0 wp-includes/class-wp-roles.php 290 View in context action
5.1 wp-includes/class-wp-roles.php 299 View in context action
5.2 wp-includes/class-wp-roles.php 299 View in context action
5.3 wp-includes/class-wp-roles.php 299 View in context action
5.4 wp-includes/class-wp-roles.php 300 View in context action
5.5 wp-includes/class-wp-roles.php 301 View in context action
5.6 wp-includes/class-wp-roles.php 301 View in context action
5.7 wp-includes/class-wp-roles.php 301 View in context action

Important warning!

This hook does not occur in the most recent version of WordPress (4.4). Do not use it. It is deprecated. You should look at the list of "related hooks" below to see if you can figure out what replaced it.

Related Hooks

We find related hooks using word stems. wp_roles_init has 2 significant word stem(s): roles, init. Note that some of the hooks below may not appear in all versions of WP.