WPDev.one
Core Function
View Source on Trac ↗

update_post_thumbnail_cache()

update_post_thumbnail_cache( mixed $wp_query = null )

Updates cache for thumbnails in the current loop.

Parameters 1 required

Name / Type Description
(WP_Query

| null) $wp_query Optional. A WP_Query instance. Defaults to the $wp_query global.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
3.2.0
Source File
wp-includes/post-thumbnail-template.php
Advertisement