Skip to content

Instantly share code, notes, and snippets.

@DenisLeblanc
Last active September 11, 2015 21:14
Show Gist options
  • Save DenisLeblanc/73af6698bb1b59c51ca9 to your computer and use it in GitHub Desktop.
Save DenisLeblanc/73af6698bb1b59c51ca9 to your computer and use it in GitHub Desktop.
Get Woocommerce Product Data
<?php
$product = get_product(get_the_ID());
echo $product->post_excerpt;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment