Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_pre_kses_less_than [ WordPress Function ]

wp_pre_kses_less_than ( $text )
Parameters:
  • (string) $text Text to be converted.
Uses:
Returns:
  • (string) Converted text.
Defined at:



Convert lone less than signs.

KSES already converts lone greater than signs.

Source


<?php
function wp_pre_kses_less_than$text ) {
    return 
preg_replace_callback('%<[^>]*?((?=<)|>|$)%''wp_pre_kses_less_than_callback'$text);
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics