WC_Session_Handler::get_session_data()publicWC 1.0

Get session data.

Method of the class: WC_Session_Handler{}

No Hooks.

Return

Array.

Usage

$WC_Session_Handler = new WC_Session_Handler();
$WC_Session_Handler->get_session_data();

WC_Session_Handler::get_session_data() code WC 9.3.1

public function get_session_data() {
	return $this->has_session() ? (array) $this->get_session( $this->_customer_id, array() ) : array();
}