[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/extend/buddypress/ -> notifications.php (summary)

bbPress BuddyPress Notifications

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

Defines 4 functions

  bbp_filter_notifications_get_registered_components()
  bbp_format_buddypress_notifications()
  bbp_buddypress_add_notification()
  bbp_buddypress_mark_notifications()

Functions
Functions that are not part of a class:

bbp_filter_notifications_get_registered_components( $component_names = array()   X-Ref
Filter registered notifications components, and add 'forums' to the queried
'component_name' array.

param: array $component_names
return: array
since: 2.6.0 bbPress (r5232)

bbp_format_buddypress_notifications( $content, $item_id, $secondary_item_id, $action_item_count, $format, $component_action_name, $component_name, $id )   X-Ref
Format the BuddyBar/Toolbar notifications

param: string $content               Component action. Deprecated. Do not do checks against this! Use
param: int    $item_id               Notification item ID.
param: int    $secondary_item_id     Notification secondary item ID.
param: int    $action_item_count     Number of notifications with the same action.
param: string $format                Format of return. Either 'string' or 'object'.
param: string $component_action_name Canonical notification action.
param: string $component_name        Notification component ID.
param: int    $id                    Notification ID.
since: 2.5.0 bbPress (r5155)

bbp_buddypress_add_notification( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = array()   X-Ref
Hooked into the new reply function, this notification action is responsible
for notifying topic and hierarchical reply authors of topic replies.

param: int $reply_id
param: int $topic_id
param: int $forum_id (not used)
param: array $anonymous_data (not used)
param: int $author_id
param: bool $is_edit Used to bail if this gets hooked to an edit action
param: int $reply_to
since: 2.5.0 bbPress (r5156)

bbp_buddypress_mark_notifications( $action = '' )   X-Ref
Mark notifications as read when reading a topic

return: If not trying to mark a notification as read
since: 2.5.0 bbPress (r5155)



Generated: Mon Dec 30 01:00:53 2024 Cross-referenced by PHPXref 0.7.1