sfw_get_product

Description

Retrieve the current Product Object from the global Sfw Object

Since: 1.0.0

Code

<?php function sfw_get_product( $product_selector = false, $flush_cache = false, $transmit_errors = false ){ 
	 … 
 } ?>

Parameter

$product_selector
(mixed) See sfw_get_product_id

Default: false

$flush_cache
(boolean)

Default: false

$transmit_errors
(boolean)

Default: false

Return

(object|false)

File

core/components/product-article/functions-product.php