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.


Nothing (null).


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 WP 5.2.2

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