[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/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

  bp_nouveau_messages_enqueue_styles()
  bp_nouveau_messages_register_scripts()
  bp_nouveau_messages_enqueue_scripts()
  bp_nouveau_messages_localize_scripts()
  bp_nouveau_messages_adjust_nav()
  bp_nouveau_messages_adjust_admin_nav()
  bp_nouveau_add_notice_notification_for_user()
  bp_nouveau_format_notice_notification_for_user()
  bp_nouveau_unregister_notices_widget()
  bp_nouveau_push_sitewide_notices()
  bp_nouveau_messages_mce_buttons()
  bp_nouveau_messages_at_on_tinymce_init()
  bp_nouveau_get_message_date()
  bp_nouveau_messages_get_bulk_actions()
  bp_nouveau_messages_notification_filters()
  bp_nouveau_messages_catch_hook_content()

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.
param: array $styles Optional. The array of styles to enqueue.
since: 3.0.0

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.
param: array $scripts The array of scripts to register
since: 3.0.0

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.
param: array $params Associative array containing the JS Strings needed by scripts
since: 3.0.0

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.
param: false|array $notifications False if there are no items, an array of notification items otherwise.
param: int         $user_id       The user ID.
since: 3.0.0

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

param: array $array.
since: 3.0.0

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.

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

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.
param: array $hooks The list of hooks to fire.
since: 3.0.1



Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1