wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



kses_allowed_protocols › Les Filtres WordPress

Depuis3.0.0
Dépréciéen/a
› apply_filters( 'kses_allowed_protocols', $protocols )
Paramètres:
  • () protocols Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the list of protocols allowed in HTML attributes.





Source

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