sfw_get_product_id
Description
Retrieve the ID of the current Articles Product in the Sfw Loop
Since: 1.0.0
Code
<?php function sfw_get_product_id( $product_selector = false ){
…
} ?>
Parameter
- $product_selector
- (mixed) Can be spreadshirt product id, WP_Post, WP_Term
Default: false