wp_auth_check_interval WordPress Filter Hook

The wp_auth_check_interval hook allows you to change the interval at which WordPress checks for authentication cookies. By default, WordPress checks for authentication cookies every 12 hours.

apply_filters( 'wp_auth_check_interval', int $interval ) #

Filters the authentication check interval.


Parameters

$interval

(int)The interval in which to check a user's authentication. Default 3 minutes in seconds, or 180.


Top ↑

Source

File: wp-includes/script-loader.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More