wp_is_application_passwords_available_for_user

过滤钩子


apply_filters( 'wp_is_application_passwords_available_for_user', true, $user )
参数
  • (bool)
    $available
    True if available, false otherwise.
    Required:
  • (WP_User)
    $user
    The user to check.
    Required:
定义位置
  • wp-includes/user.php
    , line 4958
引入
5.6.0
弃用

Filters whether Application Passwords is available for a specific user.

return apply_filters( 'wp_is_application_passwords_available_for_user', true, $user );