bbp_kses_data( string $data = '' )

Custom kses filter for forum topics and replies, for raw data

Description

Parameters

$data

(Optional) Content to filter, expected to not be escaped

Default value: ''

Return

(string) Filtered content

Source

File: bp-forums/common/formatting.php

function bbp_kses_data( $data = '' ) {
	return wp_kses( $data , bbp_kses_allowed_tags() );
}

Changelog

Changelog
Version Description
bbPress (r4603) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.