[ Index ]

PHP Cross Reference of BuddyPress




/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


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()}.
since: 2.3.2
return: array|string

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

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

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

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

Generated: Sun Jul 5 01:02:21 2020 Cross-referenced by PHPXref 0.7.1