Filters the number of links found in a comment.
$num_links, $url, $comment
Sortie :
@param int $num_links The number of links found. @param string $url Comment author's URL. Included in allowed links total. @param string $comment Content of the comment.
// Modifier la valeur avec le filtre 'comment_max_links_url'
add_filter('comment_max_links_url', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($num_links) {
// Modifier la valeur
return $num_links;
}
Chargement des actualités...