Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
add_user_role

WordPress version history for add_user_role

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

Version File Line Type
4.3 wp-includes/capabilities.php 852 View in context action
4.4 wp-includes/class-wp-user.php 524 View in context action
4.5 wp-includes/class-wp-user.php 524 View in context action
4.6 wp-includes/class-wp-user.php 524 View in context action
4.7 wp-includes/class-wp-user.php 526 View in context action
4.8 wp-includes/class-wp-user.php 529 View in context action
4.9 wp-includes/class-wp-user.php 534 View in context action
5.0 wp-includes/class-wp-user.php 534 View in context action
5.1 wp-includes/class-wp-user.php 549 View in context action
5.2 wp-includes/class-wp-user.php 549 View in context action
5.3 wp-includes/class-wp-user.php 551 View in context action
5.4 wp-includes/class-wp-user.php 551 View in context action
5.5 wp-includes/class-wp-user.php 554 View in context action
5.6 wp-includes/class-wp-user.php 554 View in context action
5.7 wp-includes/class-wp-user.php 554 View in context action
5.8 wp-includes/class-wp-user.php 557 View in context action
5.9 wp-includes/class-wp-user.php 558 View in context action
6.0 wp-includes/class-wp-user.php 562 View in context action
6.0 wp-includes/class-wp-user.php 637 View in context action
6.1 wp-includes/class-wp-user.php 563 View in context action
6.1 wp-includes/class-wp-user.php 638 View in context action
6.2 wp-includes/class-wp-user.php 563 View in context action
6.2 wp-includes/class-wp-user.php 638 View in context action

Related Hooks

We find related hooks using word stems. add_user_role has 3 significant word stem(s): add, user, role. Note that some of the hooks below may not appear in all versions of WP.