bbp_filter_kses( string $data = '' )

Custom kses filter for forum topics and replies, for filtering incoming data


Description Description


Parameters Parameters

$data

(Optional) Content to filter, expected to be escaped with slashes

Default value: ''


Top ↑

Return Return

(string) Filtered content


Top ↑

Source Source

File: includes/common/formatting.php

function bbp_filter_kses( $data = '' ) {
	return wp_slash( wp_kses( wp_unslash( $data ), bbp_kses_allowed_tags() ) );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.