#4369 closed defect (bug) (no action required)
Buddy Press Functions returning blank
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.5.6 |
Component: | Core | Keywords: | |
Cc: |
Description
I believe this is a bug, please excuse if this should be in support.
The function I currently am using is <?=bp_get_member_user_email()?>. On pages with buddypress components this returns an email address no problem, but other pages I receive an empty string.
Change History (1)
Note: See
TracTickets for help on using
tickets.
bp_get_member_user_email() is a Members template loop function, which means it will only work inside of the bp_has_members() loop. Outside of it, no value will be set so it will return zero.
If you need help finding an equivalent function, please post a message on our support forums detailing where you are trying to use it, and I'll take a look.