[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-messages/ -> bp-messages-filters.php (summary)

BuddyPress Messages Filters. Apply WordPress defined filters to private messages.

File Size: 150 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  bp_messages_enforce_current_user()
  bp_messages_filter_kses()
  bp_messages_register_personal_data_exporter()

Functions
Functions that are not part of a class:

bp_messages_enforce_current_user( $args = array()   X-Ref
Enforce limitations on viewing private message contents

return: array|string
since: 2.3.2
param: array|string $args See {@link bp_has_message_threads()}.

bp_messages_filter_kses( $content )   X-Ref
Custom kses filtering for message content.

return: string         The filtered message content.
since: 3.0.0
param: string $content The message content.

bp_messages_register_personal_data_exporter( $exporters )   X-Ref
Register Messages personal data exporter.

return: array An array of personal data exporters.
since: 4.0.0
since: 5.0.0 adds an `exporter_bp_friendly_name` param to exporters.
param: array $exporters  An array of personal data exporters.



Generated: Mon Sep 23 01:01:44 2019 Cross-referenced by PHPXref 0.7.1