WordPress Version: 5.5
/* Cache */
/**
* Removes the category cache data based on ID.
*
* @since 2.1.0
*
* @param int $id Category ID
*/
function clean_category_cache($id)
{
clean_term_cache($id, 'category');
}
The timeline below displays how wordpress function clean_category_cache has changed across different WordPress versions. If a version is not listed, refer to the next available version below.
/* Cache */
/**
* Removes the category cache data based on ID.
*
* @since 2.1.0
*
* @param int $id Category ID
*/
function clean_category_cache($id)
{
clean_term_cache($id, 'category');
}
/* Cache */
/**
* Remove the category cache data based on ID.
*
* @since 2.1.0
*
* @param int $id Category ID
*/
function clean_category_cache($id)
{
clean_term_cache($id, 'category');
}
/* Cache */
/**
* Remove the category cache data based on ID.
*
* @since 2.1.0
* @uses clean_term_cache() Clears the cache for the category based on ID
*
* @param int $id Category ID
*/
function clean_category_cache($id)
{
clean_term_cache($id, 'category');
}