Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



expiration_of_transient_{$transient} ›

Od4.4.0
Przestarzałyn/a
apply_filters( "expiration_of_transient_{$transient}", $expiration, $value, $transient )
Parametry: (3)
  • (int) $expiration Time until expiration in seconds. Use 0 for no expiration.
    Wymagane: Tak
  • (mixed) $value New value of transient.
    Wymagane: Tak
  • (string) $transient Transient name.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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