make_clickable_rel

FILTER wp-includes\formatting.php (ligne 3067) github
Filters the rel value that is added to URL matches converted to links.

Paramètres

Entrée :
$rel, $url
Sortie :
@param string $rel The rel value.
@param string $url The matched URL being converted to a link tag.

Utilisation

// Modifier la valeur avec le filtre 'make_clickable_rel'
add_filter('make_clickable_rel', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($rel) {
    // Modifier la valeur
    return $rel;
}

Actualités

Chargement des actualités...