[ad_1]
I’ve been using this code to display an additional logged on user role.
Is there a way to modify this so I can display 2 additional roles besides the Administrator. For example “Subscribers” and “Editors”
function my_auli_get_role__in( $role__in ) {
$role__in[] = 'Subscriber'; // custom role, first character capitalized
return $role__in;
}
add_filter( 'auli_get_role__in', 'my_auli_get_role__in' );
