wp_login_url

Advertisement

Summery Summery

Retrieves the login URL.

Syntax Syntax

wp_login_url( string $redirect = '', bool $force_reauth = false )

Parameters Parameters

$redirect

(string) (Optional) Path to redirect to on log in.

Default value: ''

$force_reauth

(bool) (Optional) Whether to force reauthorization, even if a cookie is present.

Default value: false

Return Return

(string) The login URL. Not HTML-encoded.

Source Source

File: wp-includes/general-template.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.