WP_Application_Passwords::is_in_use(): bool

Checks if application passwords are being used by the site.


Description

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


Top ↑

Return

bool


Top ↑

Source

File: wp-includes/class-wp-application-passwords.php. View all references

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
Version Description
5.6.0 Introduced.

Top ↑

User Contributed Notes

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