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
Return Value
int
Number of content rows based on content type.
Returns the number of content rows within a given content type.
number_content_by_typecms/core/Shared/Helpers/content.php| Parameter | Type | Description |
|---|---|---|
$slug |
string | Content type slug. |
int
Number of content rows based on content type.
© 2026 Sunbelt Computer Software