A WordPress-centric search engine for devs and theme authors



clean_category_cache ›

Since2.1.0
Deprecatedn/a
clean_category_cache ( $id )
Parameters:
  • (int) $id Category ID
    Required: Yes
Defined at:
Codex:

Remove the category cache data based on ID.



Source

function clean_category_cache( $id ) {
	clean_term_cache( $id, 'category' );
}