wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_is_site_protected_by_basic_auth › Filtr WordPress Hooks

Od5.6.1
Przestarzałyn/a
apply_filters( 'wp_is_site_protected_by_basic_auth', $is_protected, $context )
Parametry: (2)
  • (bool) $is_protected Whether the site is protected by Basic Auth.
    Wymagane: Tak
  • (string) $context The context to check for protection. One of 'login', 'admin', or 'front'.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters whether a site is protected by HTTP Basic Auth.





Źródło

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