shopp_subcategory_count()

get count of sub categories in a product category

shopp_subcategory_count ( $category )

@param int $category (required) the category id
@return int count of subcategories

Description

get count of sub categories in a product category

Example

// get count of sub categories in category 10
$count = shopp_subcategory_count(10);

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar