wp_cache_add_global_groups( string|string[] $groups )

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

Description

See also

Parameters

$groupsstring|string[]required
A group or an array of groups to add.

Source

function wp_cache_add_global_groups( $groups ) {
	global $wp_object_cache;

	$wp_object_cache->add_global_groups( $groups );
}

Changelog

VersionDescription
2.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.