/**
* Check if post has an image attached.
- *
+ *
* @since 2.9.0
*
* @param int $post_id Optional. Post ID.
- * @return bool Whether post has an image attached (true) or not (false).
+ * @return bool Whether post has an image attached.
*/
function has_post_thumbnail( $post_id = NULL ) {
global $id;
/**
* Retrieve Post Thumbnail ID.
- *
+ *
* @since 2.9.0
*
* @param int $post_id Optional. Post ID.
/**
* Display Post Thumbnail.
- *
+ *
* @since 2.9.0
*
* @param int $size Optional. Image size. Defaults to 'post-thumbnail', which theme sets using set_post_thumbnail_size( $width, $height, $crop_flag );.
/**
* Retrieve Post Thumbnail.
- *
+ *
* @since 2.9.0
*
* @param int $post_id Optional. Post ID.