wp_cache_add_non_persistent_groups()
Adds a group or set of groups to the list of non-persistent groups.
No Hooks.
Return
null
. Nothing.
Usage
wp_cache_add_non_persistent_groups( $groups );
- $groups(string|string[]) (required)
- A group or an array of groups to add.
Changelog
Since 2.6.0 | Introduced. |
Code of wp_cache_add_non_persistent_groups() wp cache add non persistent groups WP 5.9.3
function wp_cache_add_non_persistent_groups( $groups ) { // Default cache doesn't persist so nothing to do here. }