Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_kses ›

Da2.3.0
Deprecaton/a
apply_filters( 'pre_kses', $string, $allowed_html, $allowed_protocols )
Parametri: (3)
  • (string) $string Content to run through KSES.
    Richiesto:
  • (array[]|string) $allowed_html Allowed HTML elements.
    Richiesto:
  • (string[]) $allowed_protocols Array of allowed URL protocols.
    Richiesto:
Definito a:
Codex:

Filters content to be run through kses.





Sorgenti

return apply_filters( 'pre_kses', $string, $allowed_html, $allowed_protocols );