Skip to content

Instantly share code, notes, and snippets.

@WPprodigy
Created June 17, 2015 17:47
Show Gist options
  • Save WPprodigy/a2638976d6ad3c50635b to your computer and use it in GitHub Desktop.
Save WPprodigy/a2638976d6ad3c50635b to your computer and use it in GitHub Desktop.
Make all WooCommerce products appear to be purchasable
add_filter('woocommerce_is_purchasable', '__return_true');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment