wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



kses_allowed_protocols › WordPress Filter Hooks

Da3.0.0
Deprecaton/a
› apply_filters( 'kses_allowed_protocols', $protocols )
Parametri:
  • () protocols Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more.
    Richiesto: Sì
Definito a:
Codex:

Filters the list of protocols allowed in HTML attributes.





Sorgenti

$protocols = array_unique( (array) apply_filters( 'kses_allowed_protocols', $protocols ) );