ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • WP-4.4.0 $post can be a post ID or WP_Post object.

has_post_thumbnail()

Function: Determines whether a post has an image attached.

Source: wp-includes/post-thumbnail-template.php:25

Used by 4 functions | Uses 3 functions

get_post_thumbnail_id()

Function: Retrieves the post thumbnail ID.

Source: wp-includes/post-thumbnail-template.php:53

Used by 10 functions | Uses 2 functions

get_the_post_thumbnail()

Function: Retrieves the post thumbnail.

Source: wp-includes/post-thumbnail-template.php:148

Used by 1 function | Uses 9 functions
ClassicPress Documentation • Made with ClassicPress
Privacy Policy