Description
Filters whether a site is protected by HTTP Basic Auth.
Occurrences
Filename | Line Number |
---|---|
wp-includes/load.php | 1995 |
Parameters
Type | Name | Description |
---|---|---|
bool | $is_protected | Whether the site is protected by Basic Auth. |
string | $context | The context to check for protection. One of 'login', 'admin', or 'front'. |
PHP Doc
/**
* Filters whether a site is protected by HTTP Basic Auth.
*
* @since 5.6.1
*
* @param bool $is_protected Whether the site is protected by Basic Auth.
* @param string $context The context to check for protection. One of 'login', 'admin', or 'front'.
*/