{$adjacent}_image_link

{$adjacent}_image_link

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('{$adjacent}_image_link') is found 1 times:

  • /wp-includes/media.php line 3896
    	 * @param string|int[] $size    Requested image size. Can be any registered image size name, or
    	 *                              an array of width and height values in pixels (in that order).
    	 * @param string $text          Link text.
    	 */
    	return apply_filters( "{$adjacent}_image_link", $output, $attachment_id, $size, $text );
    }
    
    /**
     * Displays next or previous image link that has the same post parent.
     *
     * Retrieves the current attachment object from the $post global.