clean_category_cache()
clean_category_cache( int $id )
根据ID移除类别缓存数据。
Remove the category cache data based on ID.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$id | (int) | 必需 | 类别ID |
返回(Return)
无返回值
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.1.0 | wp-includes/category.php:331 | 0 | 1 function |
clean_category_cache() 为WP2原创文章,链接:https://www.wp2.cn/functions/clean_category_cache/