WC_Session_Handler::destroy_session()publicWC 1.0

Destroy all session data.

Method of the class: WC_Session_Handler{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_Session_Handler::destroy_session() code WC 8.7.0

public function destroy_session() {
	$this->delete_session( $this->_customer_id );
	$this->forget_session();
}