W3cubDocs

/WordPress

WP_Recovery_Mode::get_session_id()

Gets the recovery mode session ID.

Return

(string) The session ID if recovery mode is active, empty string otherwise.

Source

File: wp-includes/class-wp-recovery-mode.php

public function get_session_id() {
		return $this->session_id;
	}

Changelog

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/get_session_id