Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function wpb_user_count() {
- $usercount = get_user_count();
- return $usercount;
- }
- // Creating a shortcode to display user count
- add_shortcode('user_count', 'wpb_user_count');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement