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: ''
Return Return
(string) Filtered content
Source Source
File: includes/common/formatting.php
function bbp_filter_kses( $data = '' ) { return wp_slash( wp_kses( wp_unslash( $data ), bbp_kses_allowed_tags() ) ); }
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |