W3cubDocs

/WordPress

wp_cache_add_non_persistent_groups( string|array $groups )

Adds a group or set of groups to the list of non-persistent groups.

Parameters

$groups

(string|array) (Required) A group or an array of groups to add.

Source

File: wp-includes/cache.php

function wp_cache_add_non_persistent_groups( $groups ) {
	// Default cache doesn't persist so nothing to do here.
}

Changelog

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_non_persistent_groups