sfw_design_has_children

Description

Checks if a design probably has $children

Relies on the designs article count beeing correct. To be sure use sfw_get_design_children, but be aware that this is expensive.

Since: 1.0.0

Code

<?php function sfw_design_has_children( $design_id = false ){ 
	 … 
 } ?>

Parameter

$design_id
(boolean)

Default: false

Return

(boolean)

File

core/components/design/functions-design.php