Uses
| Uses | Description |
|---|---|
| wp-includes/class-wp-object-cache.php: WP_Object_Cache::add_global_groups() | Sets the list of global cache groups. |
Adds a group or set of groups to the list of global groups.
(string|array) (Required) A group or an array of groups to add.
File: wp-includes/cache.php
function wp_cache_add_global_groups( $groups ) {
global $wp_object_cache;
$wp_object_cache->add_global_groups( $groups );
} | Version | Description |
|---|---|
| 2.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_cache_add_global_groups