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.7

apply_filters('wp_is_site_protected_by_basic_auth') is found 1 times:

  • /wp-includes/load.php line 2017

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

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

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

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

    Warning: Undefined array key 2022 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 );
    }