sfw_get_design_articles_count

Description

Retrieve the number of articles which are associated to the current design

This will consider articles that are associated with child designs too. Will return 0 in case of an error.

Since: 1.0.0

Code

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

Parameter

$design_selector
(mixed) see sfw_get_design_id

Default: false

Return

(int)

File

core/components/design/functions-design.php