woocommerce_guest_session_to_user_id
woocommerce_guest_session_to_user_id
Appears in: woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3
Hook Type: action
Displaying hooks found in version: woocommerce.9.2.3do_action('woocommerce_guest_session_to_user_id') is found 1 times:
- /includes/class-wc-session-handler.php line 124
* * @param string $guest_session_id The former session ID, as generated by `::generate_customer_id()`. * @param int $customer_id The Customer ID that the former session was converted to. */ do_action( 'woocommerce_guest_session_to_user_id', $guest_session_id, $this->_customer_id ); } // Update session if its close to expiring. if ( time() > $this->_session_expiring ) { $this->set_session_expiration(); $this->update_session_timestamp( $this->_customer_id, $this->_session_expiration );