wp_auth_check_same_domain filter-hookWP 3.6.0

Filters whether the authentication check originated at the same domain.

Usage

add_filter( 'wp_auth_check_same_domain', 'wp_kama_auth_check_same_domain_filter' );

/**
 * Function for `wp_auth_check_same_domain` filter-hook.
 * 
 * @param bool $same_domain Whether the authentication check originated at the same domain.
 *
 * @return bool
 */
function wp_kama_auth_check_same_domain_filter( $same_domain ){

	// filter...
	return $same_domain;
}
$same_domain(true|false)
Whether the authentication check originated at the same domain.

Changelog

Since 3.6.0 Introduced.

Where the hook is called

wp_auth_check_html()
wp_auth_check_same_domain
wp-includes/functions.php 7339
$same_domain = apply_filters( 'wp_auth_check_same_domain', $same_domain );

Where the hook is used in WordPress

Usage not found.