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



site_transient_{$transient} › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( "site_transient_{$transient}", $value, $transient )
Parameters: (2)
  • () value Value of site transient.
    Required: Yes
  • () 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 );