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



transient_{$transient} ›

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

Filters an existing transient's value.

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





Fonte

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