wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_cache_delete_multiple › WordPress Function

Since6.0.0
已弃用n/a
wp_cache_delete_multiple ( $keys, $group = '' )
参数: (2)
  • (array) $keys Array of keys under which the cache to deleted.
    Required: Yes
  • (string) $group Optional. Where the cache contents are grouped. Default empty.
    Required: No
    默认: (empty)
查看:
  • WP_Object_Cache::delete_multiple()
返回:
  • (bool[]) Array of return values, grouped by key. Each value is either true on success, or false if the contents were not deleted.
定义在:
文档:

Deletes multiple values from the cache in one call.



源码

function wp_cache_delete_multiple( array $keys, $group = '' ) {
	global $wp_object_cache;

	return $wp_object_cache->delete_multiple( $keys, $group );
}