Filters the adjacent image link. The dynamic portion of the hook name, `$adjacent`, refers to the type of adjacency, either ‘next’, or ‘previous’.
Parameters
- .
- ( 3.5.0 ) . .
- $output
- ( string ) Adjacent image HTML markup. . . .
- ( int ) $attachment_id Attachment ID . . .
- $size
- ( string ) Image size. . . .
- $text
- ( string ) Link text. . . .