removing unused get_product call in embed class

This commit is contained in:
Patrick Rauland 2015-11-30 14:37:01 -07:00
parent d36828c38c
commit e65d2a3376
1 changed files with 0 additions and 4 deletions

View File

@ -75,10 +75,6 @@ class WC_Embed {
// make sure we're only affecting embedded products
if ( WC_Embed::is_embedded_product() ) {
// get product
$_pf = new WC_Product_Factory();
$_product = $_pf->get_product( get_the_ID() );
// add the exerpt
$excerpt = wpautop( $excerpt );