wp_get_attachment_thumb_file


wp_get_attachment_thumb_file ( $post_id = 0 )

Parameters:
  • (int) $post_id Optional. Attachment ID. Default 0.
Returns:
  • (string|false) False on failure. Thumbnail file path on success.
Defined at:

Description

Retrieve thumbnail for an attachment.

Related Functions

wp_get_attachment_thumb_url, wp_get_attachment_url, wp_ajax_set_attachment_thumbnail, wp_get_attachment_image, wp_get_attachment_link

Top Google Results

User discussions

wpseek mobile