WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/set site transient

Description

Essentially the same as set_transient() but works network wide when using WP Multisite.

One difference is that the transient name should be 167 characters or less in length. Also, while set_transient() sets transients that have an expiration time to not autoload, all transients added with `set_site_transient` will auto-load at all times.

Related

Transients API: set_transient(), get_transient(), delete_transient(), set_site_transient(), get_site_transient(), delete_site_transient()

See also index of Function Reference and index of Template Tags.