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_7253', 10, 4 );
function filter_function_name_7253( $output, $attachment_id, $size, $text ){
	// filter...

	return $output;
Adjacent image HTML markup.
Attachment ID
Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
Link text.


Since 3.5.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.