W3cubDocs

/WordPress

update_category_cache(): bool

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

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

	return true;
}

Changelog

Version Description
3.1.0 This function has been deprecated.
1.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/update_category_cache