WP_Recovery_Mode::get_email_rate_limit() protected WP 5.2.0
Gets the rate limit between sending new recovery mode email links.
{} It's a method of the class: WP_Recovery_Mode{}
Hooks from the method
Return
Int. Rate limit in seconds.
Usage
// protected - for code of main (parent) or child class $result = $this->get_email_rate_limit();
Changelog
Since 5.2.0 | Introduced. |
Code of WP_Recovery_Mode::get_email_rate_limit() WP Recovery Mode::get email rate limit WP 5.6
protected function get_email_rate_limit() {
/**
* Filters 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 );
}