wp_auth_check_same_domain WordPress Filter Hook

The wp_auth_check_same_domain hook is used to check whether the current user is authenticated on the same domain as the site they are trying to access. This is useful for sites that allow users to access their content from multiple domains, such as a content management system that allows users to login from any domain.

apply_filters( 'wp_auth_check_same_domain', bool $same_domain ) #

Filters whether the authentication check originated at the same domain.


Parameters

$same_domain

(bool)Whether the authentication check originated at the same domain.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More