sfw_get_view

Description

Get either the current View or a specified view of the current ProductType

Since: 1.0.0

Code

<?php function sfw_get_view( $view_id = false, $producttype_selector = false ){ 
	 … 
 } ?>

Parameter

$view_id
(boolean)

Default: false

$producttype_selector
(mixed) See sfw_get_producttype_id()

Default: false

Return

(false|object)

File

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