Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: recovery_mode_email_rate_limit

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
297       */
298      protected function get_email_rate_limit() {
299           /**
300            * Filter the rate limit between sending new recovery mode email links.
301            *
302            * @since 5.2.0
303            *
304            * @param int $rate_limit Time to wait in seconds. Defaults to 1 day.
305            */
306           return apply_filters( 'recovery_mode_email_rate_limit', DAY_IN_SECONDS );
307      }
308
309      /**
310       * Gets the number of seconds the recovery mode link is valid for.
311       *
312       * @since 5.2.0
313       *
314       * @return int Interval in seconds.
315       */