WordPress at Your Fingertips
filter is not described

login_url filter-hook . WP 2.8.0

Filters the login URL.


add_filter( 'login_url', 'filter_function_name_5414', 10, 3 );
function filter_function_name_5414( $login_url, $redirect, $force_reauth ){
	// filter...

	return $login_url;
The login URL. Not HTML-encoded.
The path to redirect to on login, if supplied.
Whether to force reauthorization, even if a cookie is present.


Since 2.8.0 Introduced.
Since 4.2.0 The $force_reauth parameter was added.

Where the hook is called

wp-includes/general-template.php 459
return apply_filters( 'login_url', $login_url, $redirect, $force_reauth );

Where in WP core the hook is used WordPress

Usage not found.