Interface for BP_Transients;
A BP_Transients class must be implemented by the host application for BackPress to operate. This interface supplies a boilerplate for that class but can only be implemented in PHP 5 environments.
since | r205 |
---|---|
package | BackPress |
delete(string $transient)
since | r205 |
---|
string
Transient name.
get(string $transient)
since | r205 |
---|
string
Transient name.
prefix()
since | r205 |
---|
set(string $transient, mixed $value, integer $expiration = 0
)
since | r205 |
---|
string
Transient name.
mixed
Transient value.
integer
The time in seconds the transient will be held for. Default is 0, meaning it is held indefinitely.