wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



pre_set_transient_{$transient} › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
apply_filters( "pre_set_transient_{$transient}", $value, $expiration, $transient )
Paramètres: (3)
  • (mixed) $value New value of transient.
    Requis: Oui
  • (int) $expiration Time until expiration in seconds.
    Requis: Oui
  • (string) $transient Transient name.
    Requis: Oui
Défini(e) dans:
Codex:

Filters a specific transient before its value is set.

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





Source

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