Skip to:
Content

BuddyPress.org

Opened 3 years ago

Last modified 3 years ago

#8670 new enhancement

Block or widget arguments should be filterable

Reported by: shawfactor's profile shawfactor Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version:
Component: Core 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
3 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Awaiting Contributions
  • Type changed from defect (bug) to 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
3 years ago

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