Skip to:
Content

BuddyPress.org

Opened 5 years ago

Last modified 5 years ago

#8670 new enhancement

Block or widget arguments should be filterable

Reported by: shawfactor Owned by:
Priority: normal Milestone: Awaiting Contributions
Component: Core Version:
Severity: normal Keywords: needs-patch
Cc:

Description

All core block or widget arguments should be filterable

My use case is when deploying the whos online block/widget.

Ideally (for my setup) the block/widget should not show the current user (the current user already knows they are online) as well as other users who have not yet agreed to the T&Cs. Atm the only way to achieve this is too override the whole block, this is complete overkill.

A better approach would be to add a filter to the args buddypress uses to generate the block/widget

I’m sure similar functionality is needed for most core buddypress blocks.

Change History (2)

#1 @imath
5 years ago

  • Keywords needs-patch added
  • Milestone Awaiting Review → Awaiting Contributions
  • Type defect (bug) → enhancement

I'm not opposed to this. I'll be happy to review a patch about it. It's important such enhancements get new contributors to start help us with code.

#2 @josh401
5 years ago

Last edited 5 years ago by josh401 (previous) (diff)
Note: See TracTickets for help on using tickets.