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