Skip to:
Content

BuddyPress.org

Opened 16 months ago

Closed 9 months ago

Last modified 9 months ago

#9287 closed enhancement (fixed)

We should have hook before and after activity content

Reported by: bhargavbhandari90 Owned by: espellcaste
Priority: normal Milestone: 14.5.0
Component: Templates Version:
Severity: normal Keywords: has-patch
Cc: emaralive

Description

There is no hook we can use to inject content before and after activity content in bp-templates/bp-nouveau/buddypress/activity/entry.php

Attachments (2)

9287.patch (655 bytes ) - added by bhargavbhandari90 16 months ago.
hook for before and after activity content
9287-v2.patch (637 bytes ) - added by bhargavbhandari90 16 months ago.
V2 with improved hook name.

Download all attachments as: .zip

Change History (8)

@bhargavbhandari90
16 months ago

hook for before and after activity content

#1 @emaralive
16 months ago

  • Cc emaralive added

@bhargavbhandari90
16 months ago

V2 with improved hook name.

This ticket was mentioned in PR #410 on buddypress/buddypress by @bhargavbhandari90.


16 months ago
#2

  • Keywords has-patch added

Added hooks for before and after activity content. So that we can extend any functionality from plugins.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9287

#3 @espellcaste
9 months ago

  • Component CoreTemplates
  • Milestone Awaiting Review14.5.0

#4 @espellcaste
9 months ago

In 14161:

BP Nouveau: Introduce a new hook before/after an Activity Stream (Single Item).

New entry_content hooks were introduced before/after an Activity Stream. The hook name followed the pattern in the template, e.g. entry_comments.

Developed in https://github.com/buddypress/buddypress/pull/410

Props bhargavbhandari90.

See #9287 (14.0).

#5 follow-up: @espellcaste
9 months ago

  • Owner set to espellcaste
  • Resolutionfixed
  • Status newclosed

In 14162:

BP Nouveau: Introduce a new hook before/after an Activity Stream (Single Item).

New entry_content hooks were introduced before/after an Activity Stream. The hook name followed the pattern in the template, e.g. entry_comments.

Props bhargavbhandari90.

Closes https://github.com/buddypress/buddypress/pull/410.
Fixes #9287 (trunk).

#6 in reply to: ↑ 5 @bhargavbhandari90
9 months ago

Thank you guys.

Note: See TracTickets for help on using tickets.