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



expiration_of_site_transient_{$transient} › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
apply_filters( "expiration_of_site_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 site transient.
    Wymagane: Tak
  • (string) $transient Transient name.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the expiration for a site 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_site_transient_{$transient}", $expiration, $value, $transient );