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



set_transient_{$transient} › Les Actions WordPress

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

Fires after the value for a specific transient has been set.

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





Source

do_action( "set_transient_{$transient}", $value, $expiration, $transient );