wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_is_application_passwords_available › WordPress Function

Seit5.6.0
Veraltetn/v
wp_is_application_passwords_available ( Keine Parameter )
Gibt zurück:
  • (bool)
Definiert in:
Codex:

Checks if Application Passwords is globally available.

By default, Application Passwords is available to all sites using SSL or to local environments. Use {@see 'wp_is_application_passwords_available'} to adjust its availability.


Quellcode

function wp_is_application_passwords_available() {
	$available = is_ssl() || 'local' === wp_get_environment_type();

	/**
	 * 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', $available );
}