Documentation

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

Constants

Functions

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
Return values
bool

wp_cache_delete()

wp_cache_delete(string $key[, string $group = '' ]) : bool
Parameters
$key : string
$group : string = ''
Return values
bool
On this page

Search results