Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Update All Reviews block transform to more closely resemble the widget
Browse files Browse the repository at this point in the history
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
  • Loading branch information
frontdevde and Aljullu committed Jun 3, 2021
1 parent d230dac commit 9000af0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/js/blocks/reviews/all-reviews/index.js
Expand Up @@ -62,6 +62,11 @@ registerBlockType( 'woocommerce/all-reviews', {
transform: ( { instance } ) =>
createBlock( 'woocommerce/all-reviews', {
reviewsOnPageLoad: instance.raw.number,
imageType: 'product',
showLoadMore: false,
showOrderby: false,
showReviewDate: false,
showReviewContent: false,
} ),
},
],
Expand Down

0 comments on commit 9000af0

Please sign in to comment.