Filters the adjacent post relational link. The dynamic portion of the hook name, `$adjacent`, refers to the type of adjacency, 'next' or 'previous'. Possible hook names include: - `next_post_rel_link` - `previous_post_rel_link`
$link
Sortie :
@param string $link The relational link.
// Modifier la valeur avec le filtre '{$adjacent}_post_rel_link'
add_filter('{$adjacent}_post_rel_link', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($link) {
// Modifier la valeur
return $link;
}
Chargement des actualités...