Filters content to be run through KSES.
$content, $allowed_html, $allowed_protocols
Sortie :
@param string $content Content to filter through KSES. @param array[]|string $allowed_html An array of allowed HTML elements and attributes, @param string[] $allowed_protocols Array of allowed URL protocols.
// Modifier la valeur avec le filtre 'pre_kses'
add_filter('pre_kses', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($content) {
// Modifier la valeur
return $content;
}
Chargement des actualités...