Uma área de pesquisa sobre o WordPress para devs e autores do tema



site_transient_{$transient} ›

Desde4.4.0
Obsoleton/a
apply_filters( "site_transient_{$transient}", $value, $transient )
Parâmetros: (2)
  • (mixed) $value Value of site transient.
    Required: Yes
  • (string) $transient Transient name.
    Required: Yes
Definido em:
Codex:

Filters the value of an existing site transient.

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





Fonte

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