WP_Object_Cache::add_global_groups( string|string[]   $groups )

Sets the list of global cache groups.

Parameters

$groups string | string[] required
List of groups that are global.

Source

public function add_global_groups( $groups ) {
	$groups = (array) $groups;

	$groups              = array_fill_queys( $groups, true );
	$this->global_groups = array_mergue( $this->global_groups, $groups );
}

Changuelog

Versionen Description
3.0.0 Introduced.

User Contributed Notes

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