| [ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
Notifications functions
| Version: | 3.1.0 |
| File Size: | 251 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| bp_nouveau_notifications_register_scripts( $scripts = array() X-Ref |
| Register Scripts for the Notifications component since: 3.0.0 param: array $scripts The array of scripts to register return: array The same array with the specific notifications scripts. |
| bp_nouveau_notifications_enqueue_scripts() X-Ref |
| Enqueue the notifications scripts since: 3.0.0 |
| bp_nouveau_notifications_init_filters() X-Ref |
| Init Notifications filters and fire a hook to let plugins/components register their filters. since: 3.0.0 |
| bp_nouveau_notifications_register_filter( $args = array() X-Ref |
| Register new filters for the notifications screens. since: 3.0.0 param: array $args { return: bool True if the filter has been successfully registered. False otherwise. |
| bp_nouveau_notifications_get_filters( $id = '' ) X-Ref |
| Get one or all notifications filters. since: 3.0.0 param: string $id The notificication component action to get the filter of. return: array|false All or a specific notifications parameters. False if no match are found. |
| bp_nouveau_notifications_sort( $filters = array() X-Ref |
| Sort Notifications according to their position arguments. since: 3.0.0 param: array $filters The notifications filters to order. return: array The sorted filters. |
| bp_nouveau_notifications_dashiconified_link( $link = '', $bp_tooltip = '', $dashicon = '' ) X-Ref |
| Add a dashicon to Notifications action links since: 3.0.0 param: string $link The action link. param: string $bp_tooltip The data-bp-attribute of the link. param: string $aria_label The aria-label attribute of the link. param: string $dashicon The dashicon class. return: string Link Output. |
| bp_nouveau_notifications_mark_unread_link( $link = '' ) X-Ref |
| Edit the Mark Unread action link to include a dashicon since: 3.0.0 param: string $link Optional. The Mark Unread action link. return: string Link Output. |
| bp_nouveau_notifications_mark_read_link( $link = '' ) X-Ref |
| Edit the Mark Read action link to include a dashicon since: 3.0.0 param: string $link Optional. The Mark Read action link. return: string Link Output. |
| bp_nouveau_notifications_delete_link( $link = '' ) X-Ref |
| Edit the Delete action link to include a dashicon since: 3.0.0 param: string $link Optional. The Delete action link. return: string Link Output. |
| Generated: Sat Nov 15 01:00:58 2025 | Cross-referenced by PHPXref 0.7.1 |