nonce_user_logged_out

过滤钩子


apply_filters( 'nonce_user_logged_out', $uid, $action )
参数
  • (int)
    $uid
    ID of the nonce-owning user.
    Required:
  • (string|int)
    $action
    The nonce action, or -1 if none was provided.
    Required:
定义位置
  • wp-includes/pluggable.php
    , line 2291
引入
3.5.0
弃用

Filters whether the user who generated the nonce is logged out.

$uid = apply_filters( 'nonce_user_logged_out', $uid, $action );