Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Showcase
  • Hosting
    • Themes
    • Plugins
    • Patterns
    • Blocks
    • Openverse ↗︎
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • WordCamp ↗︎
    • Meetups ↗︎
    • Job Board ↗︎
    • About WordPress
    • Enterprise
    • Gutenberg ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/post-thumbnail-template.php

post_thumbnail_id

Filter Hook: Filters the post thumbnail ID.

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

Used by 1 function | Uses 0 functions

post_thumbnail_url

Filter Hook: Filters the post thumbnail URL.

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

Used by 1 function | Uses 0 functions

has_post_thumbnail

Filter Hook: Filters whether a post has a post thumbnail.

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

Used by 1 function | Uses 0 functions

get_the_post_thumbnail_caption()

Function: Returns the post thumbnail caption.

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

Used by 1 function | Uses 2 functions

the_post_thumbnail_caption()

Function: Displays the post thumbnail caption.

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

Used by 0 functions | Uses 2 functions

the_post_thumbnail_caption

Filter Hook: Filters the displayed post thumbnail caption.

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

Used by 1 function | Uses 0 functions

get_the_post_thumbnail_url()

Function: Returns the post thumbnail URL.

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

Used by 1 function | Uses 3 functions

the_post_thumbnail_url()

Function: Displays the post thumbnail URL.

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

Used by 0 functions | Uses 2 functions

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 2 functions

get_post_thumbnail_id()

Function: Retrieves the post thumbnail ID.

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

Used by 17 functions | Uses 3 functions

the_post_thumbnail()

Function: Displays the post thumbnail.

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

Used by 0 functions | Uses 1 function

update_post_thumbnail_cache()

Function: Updates cache for thumbnails in the current loop.

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

Used by 3 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 7 functions

post_thumbnail_size

Filter Hook: Filters the post thumbnail size.

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

Used by 1 function | Uses 0 functions

begin_fetch_post_thumbnail_html

Action Hook: Fires before fetching the post thumbnail HTML.

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

Used by 1 function | Uses 0 functions

end_fetch_post_thumbnail_html

Action Hook: Fires after fetching the post thumbnail HTML.

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

Used by 1 function | Uses 0 functions

post_thumbnail_html

Filter Hook: Filters the post thumbnail HTML.

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

Used by 1 function | Uses 0 functions
  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Donate ↗
  • Swag Store ↗
  • WordCamp ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our X (formerly Twitter) account
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our YouTube channel
Code is Poetry