filtrod 3.6.0
wp_auth_check_same_domain
Opis — z kodu źródłowego
Filters whether the authentication check originated at the same domain.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$same_domain | bool | Whether the authentication check originated at the same domain. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_auth_check_same_domain', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'wp_auth_check_same_domain', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii