wp attachment image (tag)
| wp_attachment_is_image() | Determines whether the specified post is WordPress attachment image. A conditional tag. |
| wp_get_attachment_caption() | Retrieves the caption of specified attachment. |
| wp_get_attachment_image() | Gets the |
| wp_get_attachment_image_sizes() | Gets the size values of the specified attachment image for the sizes attribute. |
| wp_get_attachment_image_src() | Gets an array of data for the specified image: URL, width, height of the attachment image. |
| wp_get_attachment_image_srcset() | Gets the value of the |
| wp_get_attachment_image_url() | Gets the URL of the attachment image by the provided image ID. You can also specify the size of the image for which you need to get the URL. |
| wp_get_attachment_thumb_url() | Retrieves the URL of the attachment image with size |
| wp_get_attachment_url() | Gets the URL of the attachment by the provided attachment ID. Gets the link to the file. |