wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



pre_set_transient_{$transient} › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
apply_filters( "pre_set_transient_{$transient}", $value, $expiration, $transient )
Parameter: (3)
  • (mixed) $value New value of transient.
    Erforderlich: Ja
  • (int) $expiration Time until expiration in seconds.
    Erforderlich: Ja
  • (string) $transient Transient name.
    Erforderlich: Ja
Definiert in:
Codex:

Filters a specific transient before its value is set.

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





Quellcode

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