WP_Recovery_Mode::get_email_rate_limit

Advertisement

Summery Summery

Gets the rate limit between sending new recovery mode email links.

Syntax Syntax

WP_Recovery_Mode::get_email_rate_limit()

Return Return

(int) Rate limit in seconds.

Source Source

File: wp-includes/class-wp-recovery-mode.php

	protected function get_email_rate_limit() {
		/**
		 * Filter the rate limit between sending new recovery mode email links.
		 *
		 * @since 5.2.0
		 *
		 * @param int $rate_limit Time to wait in seconds. Defaults to 1 day.
		 */
		return apply_filters( 'recovery_mode_email_rate_limit', DAY_IN_SECONDS );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.