Filters the adjacent image link. The dynamic portion of the hook name, `$adjacent`, refers to the type of adjacency, either 'next', or 'previous'. Possible hook names include: - `next_image_link` - `previous_image_link`
$output, $attachment_id, $size, $text
Sortie :
@param string $output Adjacent image HTML markup. @param int $attachment_id Attachment ID @param string|int[] $size Requested image size. Can be any registered image size name, or @param string $text Link text.
// Modifier la valeur avec le filtre '{$adjacent}_image_link'
add_filter('{$adjacent}_image_link', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($output) {
// Modifier la valeur
return $output;
}
Chargement des actualités...