PATH:
home
/
letacommog
/
ldqm1
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-blocks
/
src
/
BlockTypes
<?php namespace Automattic\WooCommerce\Blocks\BlockTypes; use Automattic\WooCommerce\Blocks\Assets; /** * AllReviews class. */ class AllReviews extends AbstractBlock { /** * Block name. * * @var string */ protected $block_name = 'all-reviews'; /** * Registers the block type with WordPress. */ public function register_block_type() { register_block_type( $this->namespace . '/' . $this->block_name, array( 'render_callback' => array( $this, 'render' ), 'editor_script' => 'wc-' . $this->block_name, 'editor_style' => 'wc-block-editor', 'style' => 'wc-block-style', 'script' => 'wc-' . $this->block_name . '-frontend', 'supports' => [], ) ); } /** * Register/enqueue scripts used for this block. * * @param array $attributes Any attributes that currently are available from the block. */ protected function enqueue_scripts( array $attributes = [] ) { Assets::register_block_script( 'reviews-frontend' ); } }
[+]
..
[-] ProductSearch.php
[edit]
[-] FeaturedCategory.php
[edit]
[-] ProductNew.php
[edit]
[-] ProductBestSellers.php
[edit]
[-] ProductCategories.php
[edit]
[-] FeaturedProduct.php
[edit]
[-] Checkout.php
[edit]
[-] HandpickedProducts.php
[edit]
[-] Cart.php
[edit]
[-] AbstractProductGrid.php
[edit]
[-] PriceFilter.php
[edit]
[-] SingleProduct.php
[edit]
[-] ProductTopRated.php
[edit]
[-] AbstractDynamicBlock.php
[edit]
[-] AbstractBlock.php
[edit]
[-] AttributeFilter.php
[edit]
[-] ReviewsByProduct.php
[edit]
[-] ProductTag.php
[edit]
[-] ProductOnSale.php
[edit]
[-] ActiveFilters.php
[edit]
[-] ReviewsByCategory.php
[edit]
[-] AllProducts.php
[edit]
[-] ProductsByAttribute.php
[edit]
[-] AllReviews.php
[edit]
[-] AtomicBlock.php
[edit]
[-] ProductCategory.php
[edit]