maybe_wp_kses()
public static function maybe_wp_kses( $html, $allowed_html='post', $allowed_protocols=[] )
Sanitizes html content. Checks the unfiltered_html capability.
Since: 2.0.0
Source: common.php:7355
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$html | |||
$allowed_html | 'post' | ||
$allowed_protocols | [] |
Returns
string