[ 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

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

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

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

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

param: array $exporters  An array of personal data exporters.
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.



Generated: Thu Dec 26 01:01:04 2024 Cross-referenced by PHPXref 0.7.1