[buddypress-trac] [BuddyPress Trac] #7652: Using template loop functions in a different (or no-loop context)
buddypress-trac
noreply at wordpress.org
Thu Jan 4 15:41:13 UTC 2018
#7652: Using template loop functions in a different (or no-loop context)
-------------------------+---------------------------------
Reporter: DJPaul | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Under Consideration
Component: Core | Version:
Severity: normal | Keywords:
-------------------------+---------------------------------
There have been a few tickets recently from people wanting to use template
loop functions outside their respective template loop, and the suggestion
has often been along the lines that function x should accept a user ID
parameter so that it can be used.
I don't recall the most recent ticket this was discussed on, so I'm
opening this one as a central ticket so we can make a decision if it's
something we want to do, not do, or do on case-by-case basis. The
perspectives of someone who's had to build a BuddyPress theme or customise
an existing site's theme would be particularly useful input -- this might
be a genuine pain point.
List of requests for this functionality:
* #7640 - members loop - `bp_get_send_public_message_link()`,
`bp_get_send_private_message_link()`
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7652>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list