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



pre_set_site_transient_{$transient} › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
apply_filters( "pre_set_site_transient_{$transient}", $value, $transient )
Parameter: (2)
  • (mixed) $value New value of site transient.
    Erforderlich: Ja
  • (string) $transient Transient name.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the value of a specific site transient before it is set.

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





Quellcode

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