Title: wp-includes/cache-compat.php | Developer.WordPress.org

---

# File: wp-includes/cache-compat.php

 * function[wp_cache_set_multiple_salted()](https://developer.wordpress.org/reference/functions/wp_cache_set_multiple_salted/)
 * Stores multiple pieces of salted data in the cache.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_cache_set_multiple_salted/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_cache_set_multiple_salted/#uses)
   | Source: [wp-includes/cache-compat.php:303](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/cache-compat.php#L303-L313)
 * function[wp_cache_get_salted()](https://developer.wordpress.org/reference/functions/wp_cache_get_salted/)
 * Retrieves cached data if valid and unchanged.
 * Used by [14 functions](https://developer.wordpress.org/reference/functions/wp_cache_get_salted/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_cache_get_salted/#uses)
   | Source: [wp-includes/cache-compat.php:214](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/cache-compat.php#L214-L227)
 * function[wp_cache_set_salted()](https://developer.wordpress.org/reference/functions/wp_cache_set_salted/)
 * Stores salted data in the cache.
 * Used by [14 functions](https://developer.wordpress.org/reference/functions/wp_cache_set_salted/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_cache_set_salted/#uses)
   | Source: [wp-includes/cache-compat.php:244](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/cache-compat.php#L244-L255)
 * function[wp_cache_get_multiple_salted()](https://developer.wordpress.org/reference/functions/wp_cache_get_multiple_salted/)
 * Retrieves multiple items from the cache, only considering valid and unchanged
   items.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_cache_get_multiple_salted/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_cache_get_multiple_salted/#uses)
   | Source: [wp-includes/cache-compat.php:269](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/cache-compat.php#L269-L286)