admin_email_check_interval filter-hookWP 5.3.0

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

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

Usage

add_filter( 'admin_email_check_interval', 'wp_kama_admin_email_check_interval_filter' );

/**
 * Function for `admin_email_check_interval` filter-hook.
 * 
 * @param int $interval Interval time (in seconds).
 *
 * @return int
 */
function wp_kama_admin_email_check_interval_filter( $interval ){

	// filter...
	return $interval;
}
$interval(int)
Interval time (in seconds).
Default: 6 months

Changelog

Since 5.3.0 Introduced.

Where the hook is called

In file: /wp-login.php
admin_email_check_interval
wp-login.php 641
$admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );
wp-login.php 1386
$admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );

Where the hook is used in WordPress

Usage not found.