A WordPress-centric search engine for devs and theme authors



site_transient_{$transient} ›

Since4.4.0
Deprecatedn/a
apply_filters( "site_transient_{$transient}", $value, $transient )
Parameters: (2)
  • (mixed) $value Value of site transient.
    Required: Yes
  • (string) $transient Transient name.
    Required: Yes
Defined at:
Codex:

Filters the value of an existing site transient.

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





Source

return apply_filters( "site_transient_{$transient}", $value, $transient );