wp_is_site_protected_by_basic_auth – filter
Filters whether a site is protected by HTTP Basic Auth.
Parameters
- .
- ( 5.6.1 ) . .
- $is_protected
- ( bool ) Whether the site is protected by Basic Auth. . . .
- $context
- ( string ) The context to check for protection. One of ‘login’, ‘admin’, or ‘front’. . . .