Skip to content

Instantly share code, notes, and snippets.

@woogist
Created July 31, 2015 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woogist/3a321bfb8619c26fdcff to your computer and use it in GitHub Desktop.
Save woogist/3a321bfb8619c26fdcff to your computer and use it in GitHub Desktop.
add_filter( 'wc_session_expiring', create_function( '', 'return "2 * 60";' ) );
add_filter( 'wc_session_expiration', create_function( '', 'return "3 * 60";' ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment