Skip to:
Content

BuddyPress.org

Changes between Version 2 and Version 3 of Ticket #6712, comment 5


Ignore:
Timestamp:
04/15/2016 08:00:29 PM (8 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6712, comment 5

    v2 v3  
    33For devs, to register component notification actions, you need to add a `'notification_action_callback'` key similar to the existing `'notification_callback'` key for formatting notifications.  During the callback, you can use `bp_notifications_set_action()` to register each notification action.
    44
    5 ~~When a component does not have any notification actions registered (this can be expected for plugins), we fallback to a generic `'Receive screen notifications if I select "Yes" for this option'` row.~~ See comment:8.
    6 
    7 This option also serves the purpose of disabling all notifications for a component:
    8 
    9 [[Image(https://anonmgur.com/up/e636dcbbfca78d0c3292b79628df2bc6.gif)]]
    10 
    11 ~~This option only shows up if more than one notification action is registered for a component.~~
    12 
    13 ~~I could some use UX feedback for the `'I select "Yes" for this option'` text, as I'm not quite satisfied with it.  Some other labels I was mulling around include `'Suspend screen notifications'` and `'If I enable them'`.~~ See comment:8.
     5See comment:8 for updated info.
    146
    157----