wpseek.com
A WordPress-centric search engine for devs and theme authors



set_transient_{$transient} › WordPress Action Hooks

Since4.4.0
Deprecatedn/a
do_action( "set_transient_{$transient}", $value, $expiration, $transient )
Parameters: (3)
  • (mixed) $value Transient value.
    Required: Yes
  • (int) $expiration Time until expiration in seconds.
    Required: Yes
  • (string) $transient The name of the transient.
    Required: Yes
Defined at:
Codex:

Fires after the value for a specific transient has been set.

The dynamic portion of the hook name, $transient, refers to the transient name.





Source

do_action( "set_transient_{$transient}", $value, $expiration, $transient );