Changeset 52708 for trunk/src/wp-includes/class-wp-object-cache.php
- Timestamp:
- 02/11/2022 07:19:57 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-object-cache.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-object-cache.php
r52706 r52708 189 189 * @param int $expire Optional. When to expire the cache contents, in seconds. 190 190 * Default 0 (no expiration). 191 * @return array Array of return values. 191 * @return bool[] Array of return values, grouped by key. Each value is either 192 * true on success, or false if cache key and group already exist. 192 193 */ 193 194 public function add_multiple( array $data, $group = '', $expire = 0 ) { … … 278 279 * @param int $expire Optional. When to expire the cache contents, in seconds. 279 280 * Default 0 (no expiration). 280 * @return array Array of return values.281 * @return bool[] Array of return values, grouped by key. Each value is always true. 281 282 */ 282 283 public function set_multiple( array $data, $group = '', $expire = 0 ) { … … 342 343 * @param bool $force Optional. Whether to force an update of the local cache 343 344 * from the persistent cache. Default false. 344 * @return array Array of values organized into groups. 345 * @return array Array of return values, grouped by key. Each value is either 346 * the cache contents on success, or false on failure. 345 347 */ 346 348 public function get_multiple( $keys, $group = 'default', $force = false ) { … … 390 392 * @param array $keys Array of keys to be deleted. 391 393 * @param string $group Optional. Where the cache contents are grouped. Default empty. 392 * @return array Array of return values. 394 * @return bool[] Array of return values, grouped by key. Each value is either 395 * true on success, or false if the contents were not deleted. 393 396 */ 394 397 public function delete_multiple( array $keys, $group = '' ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)