#5942 closed enhancement (fixed)
BP Friends Hooks Documentation
Reported by: | tw2113 | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
This ticket will be where all BP Friends patches go for the Hooks Documentation.
Relevant files:
bp-friends-actions.php
bp-friends-activity.php
bp-friends-cache.php
bp-friends-classes.php
bp-friends-filters.php
bp-friends-functions.php
bp-friends-loader.php
bp-friends-notifications.php
bp-friends-screens.php
bp-friends-template.php
bp-friends-widgets.php
Attachments (8)
Change History (26)
#1
@
10 years ago
- Milestone changed from Awaiting Review to Future Release
- Type changed from enhancement to task
#2
@
10 years ago
What I have so far for the Friends component.
bp-friends-classes, bp-friends-notifications, bp-friends-functions, and bp-friends-template remain.
#4
@
10 years ago
Finished up the notifications file after the friends component diff for #5970 landed.
#5
@
10 years ago
While I was at it, got the template file finished up.
Remaining files are bp-friends-classes and bp-friends-functions
This ticket was mentioned in Slack in #buddypress by mamaduka. View the logs.
10 years ago
#7
@
10 years ago
bp-friends-functions.php is going to need a unit test set up because one of the filters was done via variables, and I'm moving it to one variable filter.
Stay tuned.
#8
@
10 years ago
Do not commit bp-friends-functions-5942.diff until the accompanying unit tests are ready for commit as well.
#12
@
10 years ago
tw2113 - A couple comments on [9174]:
do_action_ref_array()
technically gets an array as a parameter, but it should not be documented as such, because when usingadd_action()
it will receive separate params like a normaldo_action()
hook would pass.- I've switched to the proper hash notation for array params. See eg 'friends_get_newest'.
#15
@
10 years ago
bp-friends-classes.php ended up being a lot quicker than I thought :)
Unless I missed something, this ticket should be good for BuddyPress 2.2.
Moving into Future Release; we can keep these here and move them into particular releases' milestones as we commit things (or work on them).