Uma área de pesquisa sobre o WordPress para devs e autores do tema



set_site_transient_{$transient} ›

Desde4.4.0
Obsoleton/a
do_action( "set_site_transient_{$transient}", $value, $expiration, $transient )
Parâmetros: (3)
  • (mixed) $value Site transient value.
    Required: Yes
  • (int) $expiration Time until expiration in seconds.
    Required: Yes
  • (string) $transient Transient name.
    Required: Yes
Definido em:
Codex:

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

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





Fonte

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