Skip to content

Commit

Permalink
Merge pull request #23680 from hexboy/fix-woocommerce_shop_loop-hook
Browse files Browse the repository at this point in the history
WC_Structured_Data::generate_product_data() no more hooked in to woommerce_shop_loop  action, which has been removed in #22912
  • Loading branch information
kloon committed May 13, 2019
2 parents f4e7ffd + a50464d commit 3755b23
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion includes/class-wc-structured-data.php
Expand Up @@ -178,7 +178,6 @@ public function output_structured_data() {
* Generates Product structured data.
*
* Hooked into `woocommerce_single_product_summary` action hook.
* Hooked into `woocommerce_shop_loop` action hook.
*
* @param WC_Product $product Product data (default: null).
*/
Expand Down
2 changes: 0 additions & 2 deletions templates/archive-product.php
Expand Up @@ -64,8 +64,6 @@

/**
* Hook: woocommerce_shop_loop.
*
* @hooked WC_Structured_Data::generate_product_data() - 10
*/
do_action( 'woocommerce_shop_loop' );

Expand Down

0 comments on commit 3755b23

Please sign in to comment.