Uses
Uses | Description |
---|---|
wp-includes/class-wp-recovery-mode-link-service.php: WP_Recovery_Mode_Link_Service::get_recovery_mode_begin_url() | Gets a URL to begin recovery mode. |
Generates a URL to begin recovery mode.
Only one recovery mode URL can may be valid at the same time.
(string) Generated URL.
File: wp-includes/class-wp-recovery-mode-link-service.php
public function generate_url() { $token = $this->key_service->generate_recovery_mode_token(); $key = $this->key_service->generate_and_store_recovery_mode_key( $token ); return $this->get_recovery_mode_begin_url( $token, $key ); }
Version | Description |
---|---|
5.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_recovery_mode_link_service/generate_url