members_format_notifications( string $action, int $item_id, int $secondary_item_id, int $total_items, string $format = 'string' )

Notification formatting callback for bp-members notifications.


Description Description


Parameters Parameters

$action

(Required) The kind of notification being rendered.

$item_id

(Required) The primary item ID.

$secondary_item_id

(Required) The secondary item ID.

$total_items

(Required) The total number of members-related notifications waiting for the user.

$format

(Optional) 'string' for BuddyBar-compatible notifications; 'array' for WP Toolbar. Default: 'string'.

Default value: 'string'


Top ↑

Return Return

(array|string)


Top ↑

Source Source

File: bp-members/bp-members-notifications.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.