Adds `rel="noopener"` to all HTML A elements that have a target.
$text
Sortie :
@param string $text Content that may contain HTML A elements. @return string Converted content.
// Utilisation de la fonction wp_targeted_link_rel
$result = wp_targeted_link_rel($text);
if ($result) {
// Votre logique ici
}
Chargement des actualités...