Languages: English • Reference/wp auth check 日本語 (Add your language)
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.
<?php wp_auth_check( $response ); ?>
Description text
Example code
wp_auth_check() is located in wp-includes/functions.php
.
Function ref links