WP_Recovery_Mode_Email_Service::clear_rate_limit()

Clears the rate limit, allowing a new recovery mode email to be sent immediately.

Return

(bool) True on success, false on failure.

Source

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

public function clear_rate_limit() {
		return delete_option( self::RATE_LIMIT_OPTION );
	}

Changelog

Version Description
5.2.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_recovery_mode_email_service/clear_rate_limit