[buddypress-trac] [BuddyPress Trac] #5660: add parameter to bp_has_blogs filter
buddypress-trac
noreply at wordpress.org
Fri May 23 17:29:37 UTC 2014
#5660: add parameter to bp_has_blogs filter
----------------------------------------+------------------
Reporter: needle | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.1
Component: Blogs | Version:
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug |
----------------------------------------+------------------
Changes (by boonebgorges):
* keywords: => needs-patch good-first-bug
* milestone: Awaiting Review => 2.1
Comment:
I don't have a problem making these adjustments to the filter, but I
should note that probably the best way to do what you're suggesting is by
using the `bp_parse_args()` filters introduced to template functions in BP
2.0. This will help you to avoid double queries. See
http://codex.buddypress.org/plugindev/using-bp_parse_args-to-filter-
buddypress-template-loops/ for more details.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5660#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list