wp_is_application_passwords_available() – Checks if Application Passwords is globally available.

You appear to be a bot. Output may be restricted

Description

Checks if Application Passwords is globally available.

By default, Application Passwords is available to all sites using SSL or to local environments. Use the wp_is_application_passwords_available filter to adjust its availability.

Usage

$bool = wp_is_application_passwords_available();

Parameters

Returns

bool

Source

File name: wordpress/wp-includes/user.php
Lines:

1 to 10 of 10
function wp_is_application_passwords_available() {
  
/**
 * Filters whether Application Passwords is available.
 *
 * @since 5.6.0
 *
 * @param bool $available True if available, false otherwise.
 */
  return apply_filters( 'wp_is_application_passwords_available', wp_is_application_passwords_supported() );
}
 

 View on GitHub View on Trac