apply_filters( "{$adjacent}_image_link", string $output, int $attachment_id, string $size, string $text )

Filters the adjacent image link.

Description Description

The dynamic portion of the hook name, $adjacent, refers to the type of adjacency, either ‘next’, or ‘previous’.

Parameters Parameters


(string) Adjacent image HTML markup.


(int) Attachment ID


(string) Image size.


(string) Link text.

Top ↑

Source Source

File: wp-includes/media.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.