wp_is_site_protected_by_basic_auth

wp_is_site_protected_by_basic_auth

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8.2

apply_filters('wp_is_site_protected_by_basic_auth') is found 1 times:

  • /wp-includes/load.php line 2042

    Warning: Undefined array key 2043 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 2044 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 2045 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 2046 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 2047 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	 *
    	 * @param bool $is_protected Whether the site is protected by Basic Auth.
    	 * @param string $context    The context to check for protection. One of 'login', 'admin', or 'front'.
    	 */
    	return apply_filters( 'wp_is_site_protected_by_basic_auth', $is_protected, $context );
    }