wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_kses_split › WordPress Function
Seit1.0.0
Veraltetn/v
› wp_kses_split ( $content, $allowed_html, $allowed_protocols )
Parameter: (3) |
|
Gibt zurück: |
|
Definiert in: |
|
Codex: |
Searches for HTML tags, no matter how malformed.
It also matches stray>
characters.Quellcode
function wp_kses_split( $content, $allowed_html, $allowed_protocols ) { global $pass_allowed_html, $pass_allowed_protocols; $pass_allowed_html = $allowed_html; $pass_allowed_protocols = $allowed_protocols; return preg_replace_callback( '%(<!--.*?(-->|$))|(<[^>]*(>|$)|>)%', '_wp_kses_split_callback', $content ); }