WP_Recovery_Mode::get_session_id()publicWP 5.2.0

Gets the recovery mode session ID.

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.

WP_Recovery_Mode::get_session_id() code WP 6.6.2

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