clean_category_cache()
Removes the category cache data based on ID.
No Hooks.
Return
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.7.1
function clean_category_cache( $id ) { clean_term_cache( $id, 'category' ); }