[buddypress-trac] [BuddyPress Trac] #7342: Enhancement request: Check if a member type directory is being viewed

buddypress-trac noreply at wordpress.org
Sat Dec 3 11:09:50 UTC 2016


#7342: Enhancement request: Check if a member type directory is being viewed
--------------------------+-----------------------------
 Reporter:  henry.wright  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Core          |     Version:  2.7.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by slaFFik):

 Can't it be done with just `bp_is_members_directory() &&
 bp_get_current_member_type() === 'student'`?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7342#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list