Automattic\WooCommerce\StoreApi
SessionHandler::destroy_session
Destroy all session data.
Method of the class: SessionHandler{}
No Hooks.
Returns
null. Nothing (null).
Usage
$SessionHandler = new SessionHandler(); $SessionHandler->destroy_session();
SessionHandler::destroy_session() SessionHandler::destroy session code WC 10.8.1
public function destroy_session() {
$this->delete_session( $this->get_customer_id() );
$this->forget_session();
}