admin_email_check_interval WordPress Filter Hook

The admin_email_check_interval hook allows you to change the frequency with which WordPress checks for new emails. By default, WordPress checks for new emails every five minutes, but this hook allows you to change that.

apply_filters( 'admin_email_check_interval', int $interval ) #

Filters the interval for redirecting the user to the admin email confirmation screen.


Description

If 0 (zero) is returned, the user will not be redirected.


Top ↑

Parameters

$interval

(int)Interval time (in seconds). Default is 6 months.


Top ↑

Source

File: wp-login.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
5.3.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.