WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about attachment_icon

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/deprecated.php apply_filters 1978 /**
* Retrieve HTML content of icon attachment image element.
*
* @since 2.0.0
* @deprecated 2.5.0 Use wp_get_attachment_image()
* @see wp_get_attachment_image()
*
* @param int $id Optional. Post ID.
* @param bool $fullsize Optional. Whether to have full size image. Default false.
* @param array $max_dims Optional. Dimensions of image.
* @return string|false HTML content.
*/

Hook Parameters

Parameter Type Name Description
int $id Optional. Post ID.
bool $fullsize Optional. Whether to have full size image. Default false.
array $max_dims Optional. Dimensions of image.