bp_ext_friends_message_allowed_tags
The BuddyPress Extended Friendship Request bp ext friends message allowed tags hook.
Description
Parameters (1)
- 0. $message_allowed_tags (unknown)
- The message allowed tags.
Usage
- To run the hook, copy the example below.
- $message_allowed_tags = apply_filters( 'bp_ext_friends_message_allowed_tags', $message_allowed_tags );
- if ( !empty( $message_allowed_tags ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the bp_ext_friends_message_allowed_tags callback
- function filter_bp_ext_friends_message_allowed_tags( $message_allowed_tags ) {
- // make filter magic happen here...
- return $message_allowed_tags;
- };
- // add the filter
- add_filter( 'bp_ext_friends_message_allowed_tags', 'filter_bp_ext_friends_message_allowed_tags', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'bp_ext_friends_message_allowed_tags', 'filter_bp_ext_friends_message_allowed_tags', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /bp-extended-friendship-request.php
- $message_allowed_tags = apply_filters( 'bp_ext_friends_message_allowed_tags', $message_allowed_tags );