WPDev.one
Core Function
View Source on Trac ↗

auth_redirect()

auth_redirect( )

Checks if a user is logged in, if not it redirects them to the login page.

Return Value

(void)
No return value description available.

Function Information

Since Version
1.5.0
Source File
wp-includes/pluggable.php
Advertisement