BuddyPress Notifications

BuddyPress notifications require the BuddyPress plugin to be installed and active. All BuddyPress hooks are registered only when bp_is_active() returns true.

Notification Types

Activity Notifications

Fires when a member posts a BuddyPress activity update (bp_activity_posted_update). Sends to all subscribers or a configurable subset. Supports [member name] in the notification title.

Trigger action (manual): PNFPB_trigger_activity_push_notification_action

Group Activity Notifications

Fires when a member posts an update inside a BuddyPress group (bp_groups_posted_update). Members subscribed to that group receive the notification.

Activity Comments

Fires when someone comments on a BuddyPress activity (bp_activity_comment_posted). Sends to the activity author and optionally to all activity participants.

Private Messages

Fires when a private message is sent (messages_message_sent). Delivers the notification only to the recipient user ID — not broadcast to all subscribers.

BP Better Messages integration: Also hooks better_messages_message_sent when BP Better Messages is active.

Friendship Request

Fires when a friendship request is sent (friends_friendship_requested). Notifies the recipient of the request.

Friendship Accepted

Fires when a friendship request is accepted (friends_friendship_accepted). Notifies the requester.

New Member Joined

Fires when a BuddyPress user account is activated (bp_core_activated_user). Notification can be sent to admin or all subscribers depending on settings.

Avatar Change

Fires when a member uploads a new profile avatar (bp_members_avatar_uploaded / xprofile_avatar_uploaded). Notifies followers or all subscribers per settings.

Cover Image Change

Fires on cover image upload (members_cover_image_uploaded / xprofile_cover_image_uploaded).

Group Details Updated

Fires after a group admin updates the group name/description/settings (groups_group_details_edited). Notifies group members.

Group Invitation

Fires when a member is invited to join a group (groups_send_invites). Notifies the invited user(s).

Mark as Favourite

Fires when a member marks an activity as a favourite (bp_activity_add_user_favorite). Notifies the activity author.

BuddyPress Follow

Fires via the BuddyPress Follow plugin hook (bp_follow_after_save). Notifies the user who was followed.

Group Subscription Button

PNFPB adds a Subscribe / Unsubscribe button to BuddyPress group headers and group directory listings. Members who click subscribe receive group-activity notifications for that group. The plugin also adds a Push Notifications tab to the BuddyPress user profile navigation (bp_setup_nav).

On BuddyBoss Platform (a popular BuddyPress fork), the button is attached via the bp_get_group_join_button filter instead.

Scheduling BuddyPress Notifications

Each BuddyPress notification type has its own schedule toggle (immediate, hourly, twice-daily, daily, weekly) and background scheduling option in settings. Background jobs use Action Scheduler.