wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_set_site_transient_{$transient} › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( "pre_set_site_transient_{$transient}", $value, $transient )
Parameters: (2)
  • (mixed) $value New value of site transient.
    Required: Yes
  • (string) $transient Transient name.
    Required: Yes
Defined at:
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.





Source

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