函数原型
clean_category_cache( int $id )
函数描述
Removes the category cache data based on ID.
是否弃用
未弃用
函数参数
-
$id
int
Required Category ID
函数返回值
无
函数位置
File: wp-includes/category.php.
函数源码
function clean_category_cache( $id ) {
clean_term_cache( $id, 'category' );
}
源码链接
变更日志
Changelog| Version | Description |
|---|
| 2.1.0 | Introduced. |