wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_is_site_protected_by_basic_auth › WordPress Filter Hooks

Da5.6.1
Deprecaton/a
apply_filters( 'wp_is_site_protected_by_basic_auth', $is_protected, $context )
Parametri: (2)
  • (bool) $is_protected Whether the site is protected by Basic Auth.
    Richiesto:
  • (string) $context The context to check for protection. One of 'login', 'admin', or 'front'.
    Richiesto:
Definito a:
Codex:

Filters whether a site is protected by HTTP Basic Auth.





Sorgenti

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