On this page
wp_cache_add_non_persistent_groups( string|string[] $groups )
Adds a group or set of groups to the list of non-persistent groups.
Parameters
$groupsstring|string[] Required-
A group or an array of groups to add.
Source
File: wp-includes/cache.php. View all references
function wp_cache_add_non_persistent_groups( $groups ) {
// Default cache doesn't persist so nothing to do here.
}
Related
Used By
| Used By | Description |
|---|---|
| WP_Theme::__construct() wp-includes/class-wp-theme.php | Constructor for WP_Theme. |
| wp_start_object_cache() wp-includes/load.php | Start the WordPress object cache. |
| switch_to_blog() wp-includes/ms-blogs.php | Switch the current blog. |
| restore_current_blog() wp-includes/ms-blogs.php | Restore the current blog, after calling switch_to_blog() . |
Changelog
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_cache_add_non_persistent_groups