WP_Application_Passwords::is_in_use(): bool

In this article

Checks if application passwords are being used by the site.

Description

This returns true if at least one application password has ever been created.

Return

bool

Source

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

Changelog

VersionDescription
5.6.0Introduced.

User Contributed Notes

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