wp_is_application_passwords_available
Filters whether Application Passwords is available.
Usage
add_filter( 'wp_is_application_passwords_available', 'wp_kama_is_application_passwords_available_filter' ); /** * Function for `wp_is_application_passwords_available` filter-hook. * * @param bool $available True if available, false otherwise. * * @return bool */ function wp_kama_is_application_passwords_available_filter( $available ){ // filter... return $available; }
- $available(true|false)
- True if available, false otherwise.
Changelog
Since 5.6.0 | Introduced. |
Where the hook is called
wp_is_application_passwords_available
wp-includes/user.php 4996
return apply_filters( 'wp_is_application_passwords_available', wp_is_application_passwords_supported() );