WordPress at a glance

wp_cache_add_global_groups() WP 1.0

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

  • See: WP_Object_Cache::add_global_groups()
  • Global. WP_Object_Cache. $wp_object_cache Object cache global instance.

No Hooks.

Return

Nothing (null).

Usage

wp_cache_add_global_groups( $groups );
$groups(string/array) (required)
A group or an array of groups to add.

Code of wp_cache_add_global_groups: wp-includes/cache.php VER 4.9.8

<?php
function wp_cache_add_global_groups( $groups ) {
	global $wp_object_cache;

	$wp_object_cache->add_global_groups( $groups );
}

Related Functions

From tag: cache (caching)

No comments
    Hello, !     Log In . Register