Filters the list of protocols allowed in HTML attributes.
$protocols
Sortie :
@param string[] $protocols Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more.
// Modifier la valeur avec le filtre 'kses_allowed_protocols'
add_filter('kses_allowed_protocols', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($protocols) {
// Modifier la valeur
return $protocols;
}
Chargement des actualités...