wp/wp-includes/cache.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
   245  * @since 2.6.0
   245  * @since 2.6.0
   246  *
   246  *
   247  * @see WP_Object_Cache::add_global_groups()
   247  * @see WP_Object_Cache::add_global_groups()
   248  * @global WP_Object_Cache $wp_object_cache Object cache global instance.
   248  * @global WP_Object_Cache $wp_object_cache Object cache global instance.
   249  *
   249  *
   250  * @param string|array $groups A group or an array of groups to add.
   250  * @param string|string[] $groups A group or an array of groups to add.
   251  */
   251  */
   252 function wp_cache_add_global_groups( $groups ) {
   252 function wp_cache_add_global_groups( $groups ) {
   253 	global $wp_object_cache;
   253 	global $wp_object_cache;
   254 
   254 
   255 	$wp_object_cache->add_global_groups( $groups );
   255 	$wp_object_cache->add_global_groups( $groups );
   258 /**
   258 /**
   259  * Adds a group or set of groups to the list of non-persistent groups.
   259  * Adds a group or set of groups to the list of non-persistent groups.
   260  *
   260  *
   261  * @since 2.6.0
   261  * @since 2.6.0
   262  *
   262  *
   263  * @param string|array $groups A group or an array of groups to add.
   263  * @param string|string[] $groups A group or an array of groups to add.
   264  */
   264  */
   265 function wp_cache_add_non_persistent_groups( $groups ) {
   265 function wp_cache_add_non_persistent_groups( $groups ) {
   266 	// Default cache doesn't persist so nothing to do here.
   266 	// Default cache doesn't persist so nothing to do here.
   267 }
   267 }
   268 
   268