WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp auth check

Contents

Description

Check whether a user is still logged in, for the heartbeat. Send a result that shows a log-in box if the user is no longer logged in, or if their cookie is within the grace period.

Parameters

$var
(TYPE) (required) Description.
Default: None
$var
(TYPE) (optional) Description.
Default: DEFAULT

Return

(TYPE) 
Description.

Usage

 <?php  ?> 

Example

Description text

Example code

Change Log

Source File

wp_auth_check() is located in wp-includes/functions.php.

Related

Function ref links

This article is marked as in need of editing. You can help Codex by editing it.