Count user roles and combine into total to display on page
-
Hi,
I’ve seen this post https://www.ads-software.com/support/topic/show-total-number-of-registered-users-by-user-role/ which gives totals of specific roles via shortcode. Is it possible someway to combine several roles to be included in a shortcode? In the example linked above, the shortcode [um_total_members role=”subscriber”] shows the total for that one role. I’d like to be able to have something like [um_total_members role=”subscriber” & role=”contributor”] to show the total number of members for both roles combined into one shortcode. Is anyone able to help me achieve this please?
Thanks
- The topic ‘Count user roles and combine into total to display on page’ is closed to new replies.