[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/includes/notifications/ -> functions.php (summary)

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

Defines 10 functions

  bp_nouveau_notifications_register_scripts()
  bp_nouveau_notifications_enqueue_scripts()
  bp_nouveau_notifications_init_filters()
  bp_nouveau_notifications_register_filter()
  bp_nouveau_notifications_get_filters()
  bp_nouveau_notifications_sort()
  bp_nouveau_notifications_dashiconified_link()
  bp_nouveau_notifications_mark_unread_link()
  bp_nouveau_notifications_mark_read_link()
  bp_nouveau_notifications_delete_link()

Functions
Functions that are not part of a class:

bp_nouveau_notifications_register_scripts( $scripts = array()   X-Ref
Register Scripts for the Notifications component

since: 3.0.0
return: array  The same array with the specific notifications scripts.
param: array  $scripts  The array of scripts to register

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
return: bool True if the filter has been successfully registered. False otherwise.
param: array  $args {

bp_nouveau_notifications_get_filters( $id = '' )   X-Ref
Get one or all notifications filters.

since: 3.0.0
return: array|false All or a specific notifications parameters. False if no match are found.
param: string $id  The notificication component action to get the filter of.

bp_nouveau_notifications_sort( $filters = array()   X-Ref
Sort Notifications according to their position arguments.

since: 3.0.0
return: array  The sorted filters.
param: array  $filters The notifications filters to order.

bp_nouveau_notifications_dashiconified_link( $link = '', $bp_tooltip = '', $dashicon = '' )   X-Ref
Add a dashicon to Notifications action links

since: 3.0.0
return: string              Link Output.
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.

bp_nouveau_notifications_mark_unread_link( $link = '' )   X-Ref
Edit the Mark Unread action link to include a dashicon

since: 3.0.0
return: string Link Output.
param: string $link Optional. The Mark Unread action link.

bp_nouveau_notifications_mark_read_link( $link = '' )   X-Ref
Edit the Mark Read action link to include a dashicon

since: 3.0.0
return: string Link Output.
param: string $link Optional. The Mark Read action link.

bp_nouveau_notifications_delete_link( $link = '' )   X-Ref
Edit the Delete action link to include a dashicon

since: 3.0.0
return: string Link Output.
param: string $link Optional. The Delete action link.



Generated: Sun Dec 8 01:01:37 2019 Cross-referenced by PHPXref 0.7.1