Returns the number of content rows within a given content type.
- Full name:
number_content_by_type - Defined in:
cms/core/Shared/Helpers/content.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$slug |
string | Content type slug. |
Return Value
int
Number of content rows based on content type.