WordPress at a glance
filter is not described

(adjacent)_image_link filter-hook . WP 3.5.0

Filters the adjacent image link.

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


add_filter( '(adjacent)_image_link', 'filter_function_name_9113', 10, 4 );
function filter_function_name_9113( $output, $attachment_id, $size, $text ){
	// filter...

	return $output;
Adjacent image HTML markup.
Attachment ID
Image size.
Link text.


Since 3.5.0 Introduced.

Where the hook is called

wp-includes/media.php 3059
echo apply_filters( "{$adjacent}_image_link", $output, $attachment_id, $size, $text );

Where in WP core the hook is used

Usage not found!