recovery_mode_cookie_length

过滤钩子


apply_filters( 'recovery_mode_cookie_length', WEEK_IN_SECONDS )
参数
  • (int)
    $length
    Length in seconds.
    Required:
定义位置
  • wp-includes/class-wp-recovery-mode-cookie-service.php
    , line 46
引入
5.2.0
弃用

Filters the length of time a Recovery Mode cookie is valid for.

$length = apply_filters( 'recovery_mode_cookie_length', WEEK_IN_SECONDS );