Advertisement
majeedraza

WooCommerce - Insert product description after title

Jul 4th, 2017
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. <?php
  2.   // WooCommerce - Insert product description after title
  3.   add_action( 'woocommerce_single_product_summary', 'insert_description', 8 );
  4.   function insert_description() {
  5.     global $product;
  6.     the_content();
  7.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement