{$boundary}_post_rel_link

FILTER wp-includes\deprecated.php (ligne 2712) github
Get boundary post relational link. Can either be start or end post relational link.

Paramètres

Entrée :
$link
Sortie :
@param string $title               Optional. Link title format. Default '%title'.
@param bool   $in_same_cat         Optional. Whether link should be in a same category.
@param string $excluded_categories Optional. Excluded categories IDs. Default empty.
@param bool   $start               Optional. Whether to display link to first or last post.
@return string

Utilisation

// Modifier la valeur avec le filtre '{$boundary}_post_rel_link'
add_filter('{$boundary}_post_rel_link', 'ma_fonction_filtre', 10, 1);

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

Actualités

Chargement des actualités...