WordPress at Your Fingertips
function is not described

WP_Application_Passwords::is_in_use() public WP 5.6.0

Checks if Application Passwords are being used by the site.

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

{} It's a method of the class: WP_Application_Passwords{}

No Hooks.




$result = WP_Application_Passwords::is_in_use();

Code of WP_Application_Passwords::is_in_use() WP 5.8.3

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