wp_is_application_passwords_available_for_user filter-hook . WP 5.6.0
Filters whether Application Passwords is available for a specific user.
Usage
add_filter( 'wp_is_application_passwords_available_for_user', 'filter_function_name_5941', 10, 2 ); function filter_function_name_5941( $available, $user ){ // filter... return $available; }
- $available(true/false)
- True if available, false otherwise.
- $user(WP_User)
- The user to check.
Changelog
Since 5.6.0 | Introduced. |
Where the hook is called
wp_is_application_passwords_available_for_user
wp-includes/user.php 4174
return apply_filters( 'wp_is_application_passwords_available_for_user', true, $user );