MainWP Community

Set cart expiration to 10 minutes in WooCommerce

Set cart expiration to 10 minutes in WooCommerce on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter('wc_session_expiring', 600);
add_filter('wc_session_expiration' , 600);
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.