WordPress at a glance
function is not described

WP_Recovery_Mode::get_session_id() public WP 5.2.0

Gets the recovery mode session ID.

{} It's a method of the class: WP_Recovery_Mode{}

No Hooks.

Return

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

Usage

$WP_Recovery_Mode = new WP_Recovery_Mode();
$WP_Recovery_Mode->get_session_id();

Changelog

Since 5.2.0 Introduced.

Code of WP_Recovery_Mode::get_session_id() WP 5.5.1

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