OPTION_NAME
OPTION_NAME ='real_utils-transients'
Handle site-wide transients for a specific plugin. It is static-only access and set.
Do not use this handler for other data than timestamps and booleans!
All your used transient keys should be in constants so they are readable in code and as short as possible in database.
set(\DevOwl\RealUtils\AbstractInitiator $initiator,string $key,mixed $value): boolean
Set a value for a given plugin.
\DevOwl\RealUtils\AbstractInitiator | $initiator | |
string | $key | |
mixed | $value |
get(\DevOwl\RealUtils\AbstractInitiator|string $initiator,string $key,mixed $default = null)
Get a value for a given plugin.
\DevOwl\RealUtils\AbstractInitiator|string | $initiator | |
string | $key | |
mixed | $default |