the_attachment_link( int|WP_Post $id, bool $fullsize = false, bool $deprecated = false, bool $permalink = false )

Display an attachment page link using an image or icon.

10 related functions found for: the_attachment_link

Top ↑

Related terms found for this post

wp-parser-related-wordsattach, attachment, attachments, link, locat, location, post-template-php, post-typ, post-type, wp-includes
wp-parser-packageTemplate, WordPress

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • attach
  • attachment
  • attachments
  • link
  • locat
  • location
  • post-template-php
  • post-typ
  • post-type
  • Template
  • wp-includes
  • wp-includes/post-template.php
  • template

Top ↑

Description Description

Top ↑

Parameters Parameters


(int|WP_Post) (Optional) Post ID or post object.


(bool) (Optional) Whether to use full size.

Default value: false


(bool) (Optional) Deprecated. Not used.

Default value: false


(bool) (Optional) Whether to include permalink.

Default value: false

Top ↑

Source Source

File: wp-includes/post-template.php


Top ↑

Changelog Changelog

Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.