sfw_get_wildcard_design_post

Description

This is a Helper for quickly getting post of the parent of a Design if present or otherwise the designs post itself

Since: 1.0.0

Code

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

Parameter

$design_selector
(mixed) see sfw_get_design_id

Default: false

Return

(false|WP_Post)

File

core/components/design/functions-design.php