{$adjacent}_image_link

{$adjacent}_image_link

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

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

  • /wp-includes/media.php line 3944
    3940
    3941
    3942
    3943
    3944
    3945
    3946
    3947
    3948
    3949
    3950
         * @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.