[Resolved] Hide User ID from public view
-
hi everyone, just wondering if anyone knows how to hide data from public view? As i cannot see any great way to implement a membership id number (using membership plugin from wpmu as well), i am pulling in the userid field and displaying on the profile page.
I want only the user and admins to see this userid, i do not want other users to see each others user ids. Here is what i have within member-header.php within child theme so far and works, except hiding from all members.
<?php bp_displayed_user_id(); echo bp_displayed_user_id(); ?>
thank you in advance.
- The topic ‘[Resolved] Hide User ID from public view’ is closed to new replies.