[ Index ]

PHP Cross Reference of BuddyPress




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

Messages functions

Version: 10.3.0
File Size: 507 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 16 functions


Functions that are not part of a class:

bp_nouveau_messages_enqueue_styles( $styles = array()   X-Ref
Enqueue styles for the Messages UI (mentions).

since: 3.0.0
param: array $styles Optional. The array of styles to enqueue.
return: array The same array with the specific messages styles.

bp_nouveau_messages_register_scripts( $scripts = array()   X-Ref
Register Scripts for the Messages component

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

bp_nouveau_messages_enqueue_scripts()   X-Ref
Enqueue the messages scripts

since: 3.0.0

bp_nouveau_messages_localize_scripts( $params = array()   X-Ref
Localize the strings needed for the messages UI

since: 3.0.0
param: array $params Associative array containing the JS Strings needed by scripts
return: array         The same array with specific strings for the messages UI if needed.

bp_nouveau_messages_adjust_nav()   X-Ref

since: 3.0.0

bp_nouveau_messages_adjust_admin_nav( $admin_nav )   X-Ref

since: 3.0.0

bp_nouveau_add_notice_notification_for_user( $notifications, $user_id )   X-Ref
Prepend a notification about the active Sitewide notice.

since: 3.0.0
param: false|array $notifications False if there are no items, an array of notification items otherwise.
param: int         $user_id       The user ID.
return: false|array               False if there are no items, an array of notification items otherwise.

bp_nouveau_format_notice_notification_for_user( $array )   X-Ref
Format the notice notifications.

since: 3.0.0
param: array $array.

bp_nouveau_unregister_notices_widget()   X-Ref

since: 3.0.0

bp_nouveau_push_sitewide_notices()   X-Ref
Add active sitewide notices to the BP template_message global.

since: 3.0.0

bp_nouveau_messages_mce_buttons( $buttons = array()   X-Ref
Disable the WP Editor buttons not allowed in messages content.

since: 3.0.0
param: array $buttons The WP Editor buttons list.
param: array          The filtered WP Editor buttons list.

bp_nouveau_messages_at_on_tinymce_init( $settings, $editor_id )   X-Ref

since: 3.0.0

bp_nouveau_get_message_date( $date )   X-Ref

since: 3.0.0

bp_nouveau_messages_get_bulk_actions()   X-Ref

since: 3.0.0

bp_nouveau_messages_notification_filters()   X-Ref
Register notifications filters for the messages component.

since: 3.0.0

bp_nouveau_messages_catch_hook_content( $hooks = array()   X-Ref
Fires Messages Legacy hooks to catch the content and add them
as extra keys to the JSON Messages UI reply.

since: 3.0.1
param: array $hooks The list of hooks to fire.
return: array       An associative containing the caught content.

Generated: Sun May 29 01:00:55 2022 Cross-referenced by PHPXref 0.7.1