set_site_transient Wordpress function


Description:

Set/update the value of a site transient.


Syntax:


Arguments:

(string) $transient Transient name. Expected to not be SQL-escaped.
(mixed) $value Transient value. Expected to not be SQL-escaped.
(int) $expiration Time until expiration in seconds, default 0


Return Type:

(bool) False if value was not set and true if value was set.


Define At:

wp-includes/option.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/set_site_transient


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×