Removes the category cache data based on ID.
$idintrequired
function clean_category_cache( $id ) {
clean_term_cache( $id, 'category' );
}
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/clean_category_cache