[ 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: 311 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  members_format_notifications()
  bp_members_invitations_accepted_invitation_notification()
  bp_members_mark_read_accepted_invitation_notification()
  bp_members_mark_read_submitted_membership_request_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

bp_members_mark_read_submitted_membership_request_notification()   X-Ref
Mark new membership request notifications as read when user visits Manage BP Signups screen.

since: 10.0.0

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

since: 8.0.0



Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1