WP_Application_Passwords::is_in_use() – Checks if Application Passwords are being used by the site.
You appear to be a bot. Output may be restricted
Description
Checks if Application Passwords are being used by the site.
This returns true if at least one Application Password has ever been created.
Usage
$bool = WP_Application_Passwords::is_in_use();
Parameters
Returns
bool
Source
File name: wordpress/wp-includes/class-wp-application-passwords.php
Lines:
1 to 4 of 4
public static function is_in_use() { $network_id = get_main_network_id(); return (bool) get_network_option( $network_id, self::OPTION_KEY_IN_USE ); }