Warning: Undefined array key ""customer"" in /home/anbinderis/domains/awesomeshortcodes.com/public_html/wp-content/plugins/awesome-shortcodes/includes/shortcodes/class-alg-awesome-shortcodes-pack-users.php on line 203

Warning: Undefined array key ""customer"" in /home/anbinderis/domains/awesomeshortcodes.com/public_html/wp-content/plugins/awesome-shortcodes/includes/shortcodes/class-alg-awesome-shortcodes-pack-users.php on line 203

[total_users]


Warning: Undefined array key "customer" in /home/anbinderis/domains/awesomeshortcodes.com/public_html/wp-content/plugins/awesome-shortcodes/includes/shortcodes/class-alg-awesome-shortcodes-pack-users.php on line 203

Shortcode displays the count of users having each role, or the count of all users.

Attributes

role
(optional) User role to count users for. If empty – total count of all users is displayed.
Default: None

Examples

Example #1

[total_users before="Total users: "]

Output #1

Total users: 1

Example #2

[total_users role="customer" before="Total customers: "]

Output #2

Total customers: 
No comments yet.

Leave a Reply