Filters the adjacent image link.
Description
The dynamic portion of the hook name, $adjacent, refers to the type of adjacency, either ‘next’, or ‘previous’.
Possible hook names include:
next_image_linkprevious_image_link
Parameters
$outputstring- Adjacent image HTML markup.
$attachment_idint- Attachment ID
$sizestring|int[]- Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
$textstring- Link text.
Source
}
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.