Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
set_user_role

WordPress version history for set_user_role

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

Version File Line Type
2.9 wp-includes/capabilities.php 611 View in context action
3.0 wp-includes/capabilities.php 616 View in context action
3.1 wp-includes/capabilities.php 621 View in context action
3.2 wp-includes/capabilities.php 617 View in context action
3.3 wp-includes/capabilities.php 744 View in context action
3.4 wp-includes/capabilities.php 761 View in context action
3.5 wp-includes/capabilities.php 815 View in context action
3.6 wp-includes/capabilities.php 818 View in context action
3.7 wp-includes/capabilities.php 825 View in context action
3.8 wp-includes/capabilities.php 845 View in context action
3.9 wp-includes/capabilities.php 845 View in context action
4.0 wp-includes/capabilities.php 859 View in context action
4.1 wp-includes/capabilities.php 862 View in context action
4.2 wp-includes/capabilities.php 883 View in context action
4.3 wp-includes/capabilities.php 922 View in context action
4.4 wp-includes/class-wp-user.php 594 View in context action
4.5 wp-includes/class-wp-user.php 594 View in context action
4.6 wp-includes/class-wp-user.php 594 View in context action
4.7 wp-includes/class-wp-user.php 596 View in context action
4.8 wp-includes/class-wp-user.php 599 View in context action
4.9 wp-includes/class-wp-user.php 602 View in context action
5.0 wp-includes/class-wp-user.php 602 View in context action
5.1 wp-includes/class-wp-user.php 620 View in context action
5.2 wp-includes/class-wp-user.php 620 View in context action
5.3 wp-includes/class-wp-user.php 622 View in context action
5.4 wp-includes/class-wp-user.php 622 View in context action
5.5 wp-includes/class-wp-user.php 625 View in context action
5.6 wp-includes/class-wp-user.php 625 View in context action
5.7 wp-includes/class-wp-user.php 625 View in context action
5.8 wp-includes/class-wp-user.php 628 View in context action
5.9 wp-includes/class-wp-user.php 629 View in context action
6.0 wp-includes/class-wp-user.php 650 View in context action
6.1 wp-includes/class-wp-user.php 651 View in context action
6.2 wp-includes/class-wp-user.php 651 View in context action

Related Hooks

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