wordpress / latest / functions / clean_category_cache.html

clean_category_cache( int $id )

Removes the category cache data based on ID.

Parameters

$id int Required
Category ID

Source

File: wp-includes/category.php. View all references

function clean_category_cache( $id ) {
	clean_term_cache( $id, 'category' );
}

Uses

Uses Description

Changelog

Version Description
2.1.0 Introduced.

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