wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



nonce_life › Filtr WordPress Hooks

Od6.1.0
Przestarzałyn/a
apply_filters( 'nonce_life', DAY_IN_SECONDS, $action )
Parametry: (2)
  • (int) $lifespan Lifespan of nonces in seconds. Default 86,400 seconds, or one day.
    Wymagane: Tak
  • (string|int) $action The nonce action, or -1 if none was provided.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the lifespan of nonces in seconds.





Źródło

$nonce_life = apply_filters( 'nonce_life', DAY_IN_SECONDS, $action );