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.


Top ↑

Return

(bool) Always return True


Top ↑

Source

File: wp-includes/deprecated.php

function update_category_cache() {
	_deprecated_function( __FUNCTION__, '3.1.0'  );

	return true;
}


Top ↑

Changelog

Changelog
VersionDescription
3.1.0This function has been deprecated.
1.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More