clean_object_term_cache()
clean_object_term_cache( int|array $object_ids, array|string $object_type )
从缓存中删除与术语的分类关系。
Removes the taxonomy relationship to terms from the cache.
说明(Description)
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$object_ids | (int | array) | 必需 | 术语对象ID的单个或列表。 |
$object_type | (array | string) | 必需 | 分类对象类型。 |
返回(Return)
无返回值
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.3.0 | wp-includes/taxonomy.php:3187 | 4 | 4 |
clean_object_term_cache() 为WP2原创文章,链接:https://www.wp2.cn/functions/clean_object_term_cache-2/