W3cubDocs

/WordPress

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

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

Changelog

Version Description
2.1.0 Introduced.

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