wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_is_site_protected_by_basic_auth › WordPress Filter Hooks

Seit5.6.1
Veraltetn/v
apply_filters( 'wp_is_site_protected_by_basic_auth', $is_protected, $context )
Parameter: (2)
  • (bool) $is_protected Whether the site is protected by Basic Auth.
    Erforderlich: Ja
  • (string) $context The context to check for protection. One of 'login', 'admin', or 'front'.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether a site is protected by HTTP Basic Auth.





Quellcode

return apply_filters( 'wp_is_site_protected_by_basic_auth', $is_protected, $context );