FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
wordpress-azure/wp-includes/cache-compat.php at master · TeodoroJr1968/wordpress-azure · GitHub
TeodoroJr1968
/
wordpress-azure
Public
forked from
azureappserviceoss/wordpress-azure
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
wordpress-azure
/
wp-includes
/
cache-compat.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
37 lines (34 loc) · 1.02 KB
Breadcrumbs
wordpress-azure
/
wp-includes
/
cache-compat.php
Copy path
File metadata and controls
37 lines (34 loc) · 1.02 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* Object Cache API functions missing from 3rd party object caches.
*
* @link https://codex.wordpress.org/Class_Reference/WP_Object_Cache
*
* @package WordPress
* @subpackage Cache
*/
if
( !
function_exists
(
'
wp_cache_get_multiple
'
) ) :
/**
* Retrieves multiple values from the cache in one call.
*
* Compat function to mimic wp_cache_get_multiple().
*
* @ignore
* @since 5.5.0
*
* @see wp_cache_get_multiple()
*
* @param array $keys Array of keys under which the cache contents are stored.
* @param string $group Optional. Where the cache contents are grouped. Default empty.
* @param bool $force Optional. Whether to force an update of the local cache
* from the persistent cache. Default false.
* @return array Array of values organized into groups.
*/
function
wp_cache_get_multiple
(
$
keys
,
$
group
=
''
,
$
force
=
false
) {
$
values
=
array
();
foreach
(
$
keys
as
$
key
) {
$
values
[
$
key
] =
wp_cache_get
(
$
key
,
$
group
,
$
force
);
}
return
$
values
;
}
endif
;
Back
|
FazBrowse Home
|
New Git URL