[buddypress-trac] [BuddyPress Trac] #2147: Ability to set the default filter for components
buddypress-trac
noreply at wordpress.org
Sun Apr 9 05:32:52 UTC 2017
#2147: Ability to set the default filter for components
-------------------------+-----------------------------
Reporter: nickrita | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: Future Release
Component: Core | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+-----------------------------
Comment (by tw2113):
Just throwing this out there, as it's something I've recently utilized in
a plugin I'm involved in.
Provide a filter for the spot in general, allowing for someone to change
it that way, if they so desire. Also add a UI element to set a value.
Then, in a callback attached to the filter, check for a set UI setting,
and return that value if available, else return the default incoming
filtered value.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/2147#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list