login_url

Advertisement

Summery Summery

Filters the login URL.

Syntax Syntax

apply_filters( 'login_url', string $login_url, string $redirect, bool $force_reauth )

Parameters Parameters

$login_url

The login URL. Not HTML-encoded.

$redirect

The path to redirect to on login, if supplied.

$force_reauth

Whether to force reauthorization, even if a cookie is present.

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.2.0 The $force_reauth parameter was added.
2.8.0 Introduced.

Advertisement

Leave a Reply