WPDev.one
Core Function
View Source on Trac ↗

wp_clean_themes_cache()

wp_clean_themes_cache( mixed $clear_update_cache = true )

Clears the cache held by get_theme_roots() and WP_Theme.

Parameters 0 required

Name / Type Description
$clear_update_cache
bool

Whether to clear the theme updates cache.

Return Value

(void)
No return value description available.

Function Information

Since Version
3.5.0
Source File
wp-includes/theme.php
Advertisement