wp_get_attachment_thumb_url
wp_get_attachment_thumb_url ( $post_id = 0 )
Parameters:- (int) post_id Optional. Attachment ID. Default is the ID of the global `$post`.
Returns:- (string|false) Thumbnail URL on success, false on failure.
Defined at:Change Log: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Retrieves URL for an attachment thumbnail.