[buddypress-trac] [BuddyPress Trac] #7402: BuddyPress Username Slug

buddypress-trac noreply at wordpress.org
Wed Dec 21 13:23:43 UTC 2016

#7402: BuddyPress Username Slug
 Reporter:  zaheer8006       |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  high             |   Milestone:
Component:  Core             |     Version:
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |
Changes (by hnla):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


 Hi @zaheer8006,
 You don't need to be retrieving data via table queries BP provides a large
 number of template tags and functions for this type of thing.

 You'll want something like:
 `bp_core_get_user_domain()` feed that a WP user id and it will return a
 formed url string pointing to the users account.

 If you need further help the BP forums will probably be able to provide
 more detail.

 P.S it's best for example urls to use 'example.com'  if possible as it's a
 reserved domain name for this purpose.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7402#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list