get_attachment_icon


get_attachment_icon ( $id = 0, $fullsize = false, $max_dims = false )

Parameters:
  • (int) id Optional. Post ID.
  • (bool) fullsize Optional. Whether to have full size image. Default false.
  • (array) max_dims Optional. Dimensions of image.
See:
Returns:
  • (string|false) HTML content.
Defined at:

Description

Retrieve HTML content of icon attachment image element.

Related Functions

get_attachment_icon_src, get_attachment_link, wp_get_attachment_link, wp_get_attachment_caption, get_the_attachment_link

Top Google Results

User discussions

wpseek mobile