Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/load.php | apply_filters | 1821 | /** * 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'. */ |
Hook Parameters
Parameter 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'. |