sfw_maybe_get_design_id

Description

Retrieve design id

Since: 1.0.0

Code

<?php function sfw_maybe_get_design_id( $design_selector = false ){ 
	 … 
 } ?>

Parameter

$design_selector
(WP_Post|int|string) - could be an Spreadshirt Design Id, WP_Post or 'wildcard'. Leave empty for auto-guessing.

Default: false

Return

(false|string)

File

core/components/design/functions-design.php