[ 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).

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

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

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

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

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

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.

return: false|array               False if there are no items, an array of notification items otherwise.
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.

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.

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

Generated: Mon Jul 22 01:00:53 2024 Cross-referenced by PHPXref 0.7.1