Retrieve all content or content based on filters.
- Full name:
get_all_content_with_filters - Defined in:
cms/core/Shared/Helpers/content.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$contentTypeSlug |
string|null | Content type slug. |
$limit |
int | Number of content to show. |
$offset |
int|null | The offset of the first row to be returned. |
$status |
string | Returned unescaped content based on status (all, draft, published, pending, archived) |
Return Value
\App\Domain\Content\Model\Content[]
Array of published content or content by particular content type.