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



expiration_of_transient_{$transient} › Filtr WordPress Hooks

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