[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-members/ -> bp-members-notifications.php (summary)

BuddyPress Members Activity Functions. These functions handle the recording, deleting and formatting of activity for the user and for this specific component.

File Size: 231 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  members_format_notifications()
  bp_members_invitations_accepted_invitation_notification()
  bp_members_mark_read_accepted_invitation_notification()
  members_screen_notification_settings()

Functions
Functions that are not part of a class:

members_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' )   X-Ref
Notification formatting callback for bp-members notifications.

return: array|string
param: string $action            The kind of notification being rendered.
param: int    $item_id           The primary item ID.
param: int    $secondary_item_id The secondary item ID.
param: int    $total_items       The total number of members-related notifications
param: string $format            'string' for BuddyBar-compatible notifications;
since: 8.0.0

bp_members_invitations_accepted_invitation_notification( $invite, $new_user, $inviter_id )   X-Ref
Notify one use that another user has accepted their site membership invitation.

param: BP_Invitation $invite     Invitation that was accepted.
param: WP_user       $new_user   User who accepted the membership invite.
param: int           $inviter_id ID of the user who invited this user to the site.
since: 8.0.0

bp_members_mark_read_accepted_invitation_notification()   X-Ref
Mark accepted invitation notifications as read when user visits new user profile.

since: 8.0.0

members_screen_notification_settings()   X-Ref
Add Members-related settings to the Settings > Notifications page.

since: 8.0.0



Generated: Wed Jun 23 01:01:38 2021 Cross-referenced by PHPXref 0.7.1