clean_category_cache()
Removes the category cache data based on ID.
No Hooks.
Returns
null. Nothing (null).
Usage
clean_category_cache( $id );
- $id(int) (required)
- Category ID.
Changelog
| Since 2.1.0 | Introduced. |
clean_category_cache() clean category cache code WP 6.8.3
function clean_category_cache( $id ) {
clean_term_cache( $id, 'category' );
}