Opened 4 years ago
Closed 3 years ago
#8442 closed defect (bug) (worksforme)
bp_activity_add does not appear to fire when blogs in the network publish
Reported by: | lordmatt | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 7.2.0 |
Component: | Activity | Keywords: | reporter-feedback |
Cc: |
Description
I hook bp_activity_add to invalidate a cache when a new activity is recorded. The function does not fire when any blog in the network posts.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi thanks for your feedback.
Can you confirm BuddyPress is network activated?
Are activities generated when blogs post?
Where is located you custom code? (mu-plugins, bp-custom.php, somewhere else)
Can you try using a higher priority for your hook to see if it fixes the issue?
eg:
add_action( 'bp_activity_add', 'your_hook', 9 );