Un motore di ricerca WordPress per sviluppatori e autori di temi



expiration_of_transient_{$transient} ›

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

Filters the expiration for a transient before its value is set.

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





Sorgenti

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