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



pre_set_transient_{$transient} › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( "pre_set_transient_{$transient}", $value, $expiration, $transient )
Parametry: (3)
  • () value New value of transient.
    Wymagane: Tak
  • () expiration Time until expiration in seconds.
    Wymagane: Tak
  • () transient Transient name.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters a specific transient before its value is set.

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




Źródło

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