[buddypress-trac] [BuddyPress Trac] #7485: Allow bp_get_group_permalink() to produce HTML links.

buddypress-trac noreply at wordpress.org
Mon Mar 27 20:33:30 UTC 2017


#7485: Allow bp_get_group_permalink() to produce HTML links.
-------------------------+------------------------------------
 Reporter:  dcavins      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Groups       |    Version:  2.8.2
 Severity:  normal       |   Keywords:  has-patch dev-feedback
-------------------------+------------------------------------
 I believe there's a use-case for a convenience function that outputs a
 group's permalink as HTML, like:
 `<a href="<?php bp_group_permalink(); ?>"><?php bp_group_name(); ?></a>`
 sort of like `bp_core_get_userlink()`.

 We can get the convenience without adding a new function by adding a
 parameter to `bp_get_group_permalink()` as I've done in the first patch.

 Thanks for your feedback!

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7485>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list