Un motore di ricerca WordPress per sviluppatori e autori di temi



set_transient_{$transient} ›

Da4.4.0
Deprecaton/a
do_action( "set_transient_{$transient}", $value, $expiration, $transient )
Parametri: (3)
  • (mixed) $value Transient value.
    Richiesto:
  • (int) $expiration Time until expiration in seconds.
    Richiesto:
  • (string) $transient The name of the transient.
    Richiesto:
Definito a:
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.





Sorgenti

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