W3cubDocs

/WordPress

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

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

Changelog

Version Description
5.2.0 Introduced.

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