Filter hook 'login_url'

in WP Core File wp-includes/general-template.php at line 467

Description

Filters the login URL.

Occurrences

Filename Line Number
wp-includes/general-template.php 467

Parameters

Type Name Description
string $login_url The login URL. Not HTML-encoded.
string $redirect The path to redirect to on login, if supplied.
bool $force_reauth Whether to force reauthorization, even if a cookie is present.

PHP Doc

/**
	 * Filters the login URL.
	 *
	 * @since 2.8.0
	 * @since 4.2.0 The `$force_reauth` parameter was added.
	 *
	 * @param string $login_url    The login URL. Not HTML-encoded.
	 * @param string $redirect     The path to redirect to on login, if supplied.
	 * @param bool   $force_reauth Whether to force reauthorization, even if a cookie is present.
	 */