wordpress / latest / classes / wp_recovery_mode_email_service / clear_rate_limit.html

WP_Recovery_Mode_Email_Service::clear_rate_limit(): bool

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. View all references

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

Uses

Uses Description

Changelog

Version Description
5.2.0 Introduced.

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