|[ Index ]||
PHP Cross Reference of BuddyPress
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|
|Includes or requires:||0 files|
|members_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) X-Ref|
|Notification formatting callback for bp-members notifications.|
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;
|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.
|Mark accepted invitation notifications as read when user visits new user profile.|
|Mark new membership request notifications as read when user visits Manage BP Signups screen.|
|Add Members-related settings to the Settings > Notifications page.|
|Generated: Thu May 19 01:00:53 2022||Cross-referenced by PHPXref 0.7.1|