wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_is_site_protected_by_basic_auth › Les Filtres WordPress

Depuis5.6.1
Dépréciéen/a
apply_filters( 'wp_is_site_protected_by_basic_auth', $is_protected, $context )
Paramètres: (2)
  • (bool) $is_protected Whether the site is protected by Basic Auth.
    Requis: Oui
  • (string) $context The context to check for protection. One of 'login', 'admin', or 'front'.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether a site is protected by HTTP Basic Auth.





Source

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