Skip to content

Instantly share code, notes, and snippets.

@Garconis
Last active August 8, 2019 16:28
Show Gist options
  • Save Garconis/5b86671efdde4cc3157e74e0e2767eb3 to your computer and use it in GitHub Desktop.
Save Garconis/5b86671efdde4cc3157e74e0e2767eb3 to your computer and use it in GitHub Desktop.
WooCommerce | Create a shortcode for WooCommerce product links, which adds a class based on the if the product is out of stock or in stock.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment