Filter: sensei_pre_kses

apply_filters( 'sensei_pre_kses', $string, $allowed_html, $allowed_protocols ) → {string}

Filter content before passing it to kses, similar to pre_kses.

Parameters:
Name Type Description
$string string

Content to run through kses.

$allowed_html array

Allowed HTML elements.

$allowed_protocols array

Allowed protocol in links.

Source:
Returns:

Filtered content.

Type
string