wp_get_attachment_thumb_url( int $post_id )

Retrieve URL for an attachment thumbnail.


4 related functions found for: wp_get_attachment_thumb_url

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordsattach, attachment, attachments, get, imag, image, locat, location, post-php, post-typ, post-type, thumb, thumbnail, url, wp-get, wp-includes
wp-parser-packagePost, WordPress
wp-parser-source-filewp-includes/post.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • attach
  • attachment
  • attachments
  • get
  • imag
  • image
  • locat
  • location
  • Post
  • post-php
  • post-typ
  • post-type
  • thumb
  • thumbnail
  • url
  • wp-get
  • wp-includes
  • wp-includes/post.php
  • post

Top ↑

Description Description


Top ↑

Parameters Parameters

$post_id

(int) (Optional) Attachment ID. Default 0.


Top ↑

Return Return

(string|false) False on failure. Thumbnail URL on success.


Top ↑

Source Source

File: wp-includes/post.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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