Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_set_transient_{$transient} ›

Da4.4.0
Deprecaton/a
apply_filters( "pre_set_transient_{$transient}", $value, $expiration, $transient )
Parametri: (3)
  • (mixed) $value New value of transient.
    Richiesto:
  • (int) $expiration Time until expiration in seconds.
    Richiesto:
  • (string) $transient Transient name.
    Richiesto:
Definito a:
Codex:

Filters a specific transient before its value is set.

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





Sorgenti

$value = apply_filters( "pre_set_transient_{$transient}", $value, $expiration, $transient );