• Resolved TC.K

    (@wp_dummy)


    Hi,
    I am using wc() session to store custom data that use for checkout process.
    eg:
    WC()->session->set('pinfo',$pinfo);

    I wonder if this session will be cleared after checkout complete?
    Or I need to manually clear it?

Viewing 1 replies (of 1 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    Once the session expires the values will be gone, unless you saved them with another function.

    Kind regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Will custom WC() session content cleared after checkout?’ is closed to new replies.