Removed test

This commit is contained in:
Claudio Sanches 2016-11-14 15:19:28 -02:00
parent 657bd226f8
commit 8650365e32
1 changed files with 0 additions and 2 deletions

View File

@ -247,8 +247,6 @@ function wc_delete_product_transients( $post_id = 0 ) {
// Does this product have a parent?
$product = wc_get_product( $post_id );
error_log( print_r( $post_id, true ) );
fwrite( STDERR, PHP_EOL . 'AQUI: ' . print_r( $post_id, true ) . PHP_EOL . PHP_EOL );
if ( $product->get_parent_id() > 0 ) {
wc_delete_product_transients( $product->get_parent_id() );
}