A WordPress-centric search engine for devs and theme authors



wp_cache_add_global_groups ›

Since2.6.0
Deprecatedn/a
wp_cache_add_global_groups ( $groups )
Parameters:
  • (string|array) $groups A group or an array of groups to add.
    Required: Yes
See:
  • WP_Object_Cache::add_global_groups()
Defined at:
Codex:

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



Source

function wp_cache_add_global_groups( $groups ) {
	global $wp_object_cache;

	$wp_object_cache->add_global_groups( $groups );
}