[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

Messages functions

Version: 3.1.0
File Size: 449 lines (12 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).

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

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

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

since: 3.0.0

bp_nouveau_format_notice_notification_for_user( $array )   X-Ref

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.

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



Generated: Sun Nov 17 01:01:36 2019 Cross-referenced by PHPXref 0.7.1