Warning: This function has been deprecated.
update_category_cache() WordPress Function
The update_category_cache() function is used to update the cache for the category taxonomy. This function will clear the cache and then rebuild it for the category taxonomy. This function is useful for when the category taxonomy has been updated and the cache needs to be rebuilt.
update_category_cache() #
Update the categories cache.
Description
This function does not appear to be used anymore or does not appear to be needed. It might be a legacy function left over from when there was a need for updating the category cache.
Return
(bool) Always return True
Source
File: wp-includes/deprecated.php
function update_category_cache() { _deprecated_function( __FUNCTION__, '3.1.0' ); return true; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.1.0 | This function has been deprecated. |
1.5.0 | Introduced. |