Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



set_site_transient_{$transient} ›

Seit4.4.0
Veraltetn/v
do_action( "set_site_transient_{$transient}", $value, $expiration, $transient )
Parameter: (3)
  • (mixed) $value Site transient value.
    Erforderlich: Ja
  • (int) $expiration Time until expiration in seconds.
    Erforderlich: Ja
  • (string) $transient Transient name.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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