wp_cache_delete_multiple()
Deletes multiple values from the cache in one call.
Хуков нет.
Возвращает
true|false[]
. Array of return values, grouped by key. Each value is either true on success, or false if the contents were not deleted.
Использование
wp_cache_delete_multiple( $keys, $group );
- $keys(массив) (обязательный)
- Array of keys under which the cache to deleted.
- $group(строка)
- Where the cache contents are grouped.
По умолчанию: ''
Заметки
- Смотрите: WP_Object_Cache::delete_multiple()
- Global. WP_Object_Cache. $wp_object_cache Object cache global instance.
Список изменений
С версии 6.0.0 | Введена. |
Код wp_cache_delete_multiple() wp cache delete multiple WP 6.6.2
function wp_cache_delete_multiple( array $keys, $group = '' ) { global $wp_object_cache; return $wp_object_cache->delete_multiple( $keys, $group ); }