sfw_get_size

Description

Get either the current Size or a specified size of the current ProductType

Since: 1.0.0

Code

<?php function sfw_get_size( $size_id = false, $producttype_selector = false ){ 
	 … 
 } ?>

Parameter

$size_id
(boolean)

Default: false

$producttype_selector
(mixed) See sfw_get_producttype_id()

Default: false

Return

(false|object)

File

core/components/producttype/functions-producttype-sizes.php