WordPress at Your Fingertips

wp_cache_add_global_groups() WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

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

Notes

Changelog

Since 2.6.0 Introduced.

Code of wp_cache_add_global_groups() WP 5.8

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

	$wp_object_cache->add_global_groups( $groups );
}

From tag: cache (caching)

No comments
    Log In