WP_Application_Passwords::is_in_use()

Checks if Application Passwords are being used by the site.


Description Description

This returns true if at least one App Password has ever been created.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: wp-includes/class-wp-application-passwords.php

	public static function is_in_use() {
		$network_id = get_main_network_id();
		return (bool) get_network_option( $network_id, self::OPTION_KEY_IN_USE );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.