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

TaxonomyTerms
wp-parser-related-wordsattach, attachment, attachments, link, locat, location, post-template-php, post-typ, post-type, wp-includes
wp-parser-packageTemplate, WordPress
wp-parser-source-filewp-includes/post-template.php

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

$id

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

$fullsize

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

Default value: false

$deprecated

(bool) (Optional) Deprecated. Not used.

Default value: false

$permalink

(bool) (Optional) Whether to include permalink.

Default value: false


Top ↑

Source Source

File: wp-includes/post-template.php


			

Top ↑

Changelog 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.