AttributeLookupTest.php
Table of Contents
Classes
- AttributeLookupTest
- A PIM attribute created after the catalogue was cached once sent getAttributeById() into a
fetch+save loop that held the buffer-checker lock for 10 h: the upsert kept the collection
name, so the cached catalogue never showed the new attribute.
Constants
-
DAY_IN_SECONDS
: mixed = 86400
Functions
-
wp_cache_get()
: mixed
-
wp_cache_set()
: bool
-
wp_cache_delete()
: bool
DAY_IN_SECONDS
public
mixed
DAY_IN_SECONDS
= 86400
wp_cache_get()
wp_cache_get(string $key[, string $group = '' ]) : mixed
Parameters
-
$key
: string
-
-
$group
: string
= ''
-
wp_cache_set()
wp_cache_set(string $key, mixed $data[, string $group = '' ][, int $expire = 0 ]) : bool
Parameters
-
$key
: string
-
-
$data
: mixed
-
-
$group
: string
= ''
-
-
$expire
: int
= 0
-
wp_cache_delete()
wp_cache_delete(string $key[, string $group = '' ]) : bool
Parameters
-
$key
: string
-
-
$group
: string
= ''
-