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



wp_cache_add_global_groups ›

Since2.6.0
已弃用n/a
wp_cache_add_global_groups ( $groups )
参数:
  • (string|array) $groups A group or an array of groups to add.
    Required: Yes
查看:
  • WP_Object_Cache::add_global_groups()
定义在:
文档:

Adds a group or set of groups to the list of global groups.



源码

function wp_cache_add_global_groups( $groups ) {
	global $wp_object_cache;

	$wp_object_cache->add_global_groups( $groups );
}