wp_get_attachment_thumb_url
wp_get_attachment_thumb_url ( $post_id = 0 )
Parameters:- (int) post_id Optional. Attachment ID. Default 0.
Returns:- (string|false) Thumbnail URL on success, false on failure.
Defined at: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Retrieve URL for an attachment thumbnail.