Uses
Uses | Description |
---|---|
wp-includes/taxonomy.php: clean_term_cache() | Will remove all of the term IDs from the cache. |
Removes the category cache data based on ID.
(int) (Required) Category ID
File: wp-includes/category.php
function clean_category_cache( $id ) { clean_term_cache( $id, 'category' ); }
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