public setTransient ( string $transient, mixed $value, integer $expiration ) : boolean | ||
$transient | string | Transient name. Expected to not be SQL-escaped. |
$value | mixed | Transient value. Expected to not be SQL-escaped. |
$expiration | integer | Time until expiration in seconds, default 0 |
return | boolean | False if value was not set and true if value was set. |