Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

set_site_transient()

3 tags 1 category

set_site_transient() — Sets/updates the value of a site transient. You do not need to serialize values. If the value needs to be serialized, then it will be serialized before it is set.

Inputs: $transient (string): Transient name. Expected to not be SQL-escaped. Must be 167 characters or fewer in length. $value (mixed): Transient value. Expected to not be SQL-escaped. $expiration (int): Optional. Time until expiration in seconds. Default 0 (no expiration).

Returns bool: True if the value was set, false otherwise.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…