Skip to content

Instantly share code, notes, and snippets.

@BFTrick
Created November 26, 2013 13:58
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 BFTrick/7658664 to your computer and use it in GitHub Desktop.
Save BFTrick/7658664 to your computer and use it in GitHub Desktop.
A SQL command to set download expiry to 1 day for all products.
UPDATE `wp_postmeta`
SET meta_value='7'
WHERE meta_key='_download_expiry'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment