
如何修复XAMPP本地主机index.php错误
wp_cache_add ( $key, $data, $group = '', $expire = 0 )
wp_cache_add: 这个函数在缓存中存储一个值,将其与指定的键相关联。如果该键已经存在于缓存中,该值将不会被覆盖。如果该值被成功添加到缓存中,该函数返回true。
将数据添加到缓存中,如果缓存键不已经存在的话。
function wp_cache_add( $key, $data, $group = '', $expire = 0 ) { global $wp_object_cache; return $wp_object_cache->add( $key, $data, $group, (int) $expire ); }