[ 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 param: array $scripts The array of scripts to register since: 3.0.0 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. param: array $args { since: 3.0.0 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. param: string $id The notificication component action to get the filter of. since: 3.0.0 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. param: array $filters The notifications filters to order. since: 3.0.0 return: array The sorted filters. |
bp_nouveau_notifications_dashiconified_link( $link = '', $bp_tooltip = '', $dashicon = '' ) X-Ref |
Add a dashicon to Notifications action links 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. since: 3.0.0 return: string Link Output. |
bp_nouveau_notifications_mark_unread_link( $link = '' ) X-Ref |
Edit the Mark Unread action link to include a dashicon param: string $link Optional. The Mark Unread action link. since: 3.0.0 return: string Link Output. |
bp_nouveau_notifications_mark_read_link( $link = '' ) X-Ref |
Edit the Mark Read action link to include a dashicon param: string $link Optional. The Mark Read action link. since: 3.0.0 return: string Link Output. |
bp_nouveau_notifications_delete_link( $link = '' ) X-Ref |
Edit the Delete action link to include a dashicon param: string $link Optional. The Delete action link. since: 3.0.0 return: string Link Output. |
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |