WordPress at Your Fingertips
function is not described

WC_Session_Handler::get_session_data() public WC 1.0

Get session data.

{} It's a 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();

Code of WC_Session_Handler::get_session_data() WC 5.9.0

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