recovery_mode_begin_url
Filters the URL to begin recovery mode.
Usage
add_filter( 'recovery_mode_begin_url', 'wp_kama_recovery_mode_begin_url_filter', 10, 3 ); /** * Function for `recovery_mode_begin_url` filter-hook. * * @param string $url The generated recovery mode begin URL. * @param string $token The token used to identify the key. * @param string $key The recovery mode key. * * @return string */ function wp_kama_recovery_mode_begin_url_filter( $url, $token, $key ){ // filter... return $url; }
- $url(string)
- The generated recovery mode begin URL.
- $token(string)
- The token used to identify the key.
- $key(string)
- The recovery mode key.
Changelog
Since 5.2.0 | Introduced. |
Where the hook is called
recovery_mode_begin_url
wp-includes/class-wp-recovery-mode-link-service.php 128
return apply_filters( 'recovery_mode_begin_url', $url, $token, $key );