Changeset 47944 for trunk/src/wp-includes/cache.php
- Timestamp:
- 06/10/2020 09:55:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cache.php
r47938 r47944 114 114 * @param int|string $key The key under which the cache contents are stored. 115 115 * @param string $group Optional. Where the cache contents are grouped. Default empty. 116 * @param bool $force Optional. Whether to force an update of the local cache from the persistent117 * cache. Default false.116 * @param bool $force Optional. Whether to force an update of the local cache 117 * from the persistent cache. Default false. 118 118 * @param bool $found Optional. Whether the key was found in the cache (passed by reference). 119 119 * Disambiguates a return of false, a storable value. Default null. 120 * @return bool|mixed False on failure to retrieve contents or the cache 121 * contents on success 120 * @return mixed|false The cache contents on success, false on failure to retrieve contents. 122 121 */ 123 122 function wp_cache_get( $key, $group = '', $force = false, &$found = null ) { … … 128 127 129 128 /** 130 * Gets multiple values fromcache in one call.129 * Retrieves multiple values from the cache in one call. 131 130 * 132 131 * @since 5.5.0 132 * 133 133 * @see WP_Object_Cache::get_multiple() 134 * 135 * @param array $keys Array of keys to get from group. 136 * @param string $group Optional. Where the cache contents are grouped. Default empty. 137 * @param bool $force Optional. Whether to force an update of the local cache from the persistent 138 * cache. Default false. 139 * @return array|bool Array of values. 134 * @global WP_Object_Cache $wp_object_cache Object cache global instance. 135 * 136 * @param array $keys Array of keys under which the cache contents are stored. 137 * @param string $group Optional. Where the cache contents are grouped. Default empty. 138 * @param bool $force Optional. Whether to force an update of the local cache 139 * from the persistent cache. Default false. 140 * @return array Array of values organized into groups. 140 141 */ 141 142 function wp_cache_get_multiple( $keys, $group = '', $force = false ) {
Note: See TracChangeset
for help on using the changeset viewer.