wp_is_application_passwords_available_for_user WordPress Filter Hook
The wp_is_application_passwords_available_for_user hook allows you to check if the application passwords feature is available for the specified user. This can be useful for checking if a user has the required permissions to use this feature.
apply_filters( 'wp_is_application_passwords_available_for_user', bool $available , WP_User $user ) #
Filters whether Application Passwords is available for a specific user.
Parameters
- $available
(bool)True if available, false otherwise.
- $user
(WP_User)The user to check.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |