get_role_list

get_role_list

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('get_role_list') is found 1 times:

  • /wp-admin/includes/class-wp-users-list-table.php line 681

    Warning: Undefined array key 683 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 684 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 685 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 686 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    677
    678
    679
    680
    681
    682
    683
             *
             * @param string[] $role_list   An array of translated user role names keyed by role.
             * @param WP_User  $user_object A WP_User object.
             */
            return apply_filters( 'get_role_list', $role_list, $user_object );
        }
    }

See this hook used in plugins: