{$adjacent}_image_link

Advertisement

Summery Summery

Filters the adjacent image link.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$output

(string) Adjacent image HTML markup.

$attachment_id

(int) Attachment ID

$size

(string) Image size.

$text

(string) Link text.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.