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