WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "Function Reference/wp clean themes cache"

m (Changelog: Link version 3.5)
(Include more information about the function)
Line 1: Line 1:
 
== Description ==
 
== Description ==
+
Clears the cache held by [[Function_Reference/get theme roots|get_theme_roots()]] and [[Class_Reference/WP_Theme|WP_Theme]].
 
== Usage ==
 
== Usage ==
   
%%% <?php ?> %%%
+
%%% <?php wp_clean_themes_cache() ?> %%%
   
 
== Parameters ==
 
== Parameters ==
Line 17: Line 17:
 
== Source File ==
 
== Source File ==
   
<tt> </tt> is located in {{Trac| }}
+
<tt>wp_clean_themes_cache()</tt> is located in {{Trac|wp-includes/theme.php}}
   
 
== Related ==
 
== Related ==

Revision as of 18:22, 12 December 2012

Description

Clears the cache held by get_theme_roots() and WP_Theme.

Usage

 <?php wp_clean_themes_cache() ?> 

Parameters

Examples

Default Usage

Change Log

Source File

wp_clean_themes_cache() is located in wp-includes/theme.php

Related