Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_set_site_transient_{$transient} ›

Da4.4.0
Deprecaton/a
apply_filters( "pre_set_site_transient_{$transient}", $value, $transient )
Parametri: (2)
  • (mixed) $value New value of site transient.
    Richiesto:
  • (string) $transient Transient name.
    Richiesto:
Definito a:
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.





Sorgenti

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