WP_Recovery_Mode_Email_Service::clear_rate_limit
Clears the rate limit, allowing a new recovery mode email to be sent immediately.
Method of the class: WP_Recovery_Mode_Email_Service{}
No Hooks.
Returns
true|false. True on success, false on failure.
Usage
$WP_Recovery_Mode_Email_Service = new WP_Recovery_Mode_Email_Service(); $WP_Recovery_Mode_Email_Service->clear_rate_limit();
Changelog
| Since 5.2.0 | Introduced. |
WP_Recovery_Mode_Email_Service::clear_rate_limit() WP Recovery Mode Email Service::clear rate limit code WP 7.0
public function clear_rate_limit() {
return delete_option( self::RATE_LIMIT_OPTION );
}