array related_content( type, content_strings )

Description:

Retrieve the article's related content items.

Parameters:

type

The type(s) of related content to retrieve. Leave empty to not filter on type.

content_strings

Set to true to have related item content be returned as strings instead of arrays of string blocks.

Return:

An array of related content items. Each item is an object with the properties:

style (string)
Name of the style the item is associated to.
type (string)
Name of the content type the item's style is associated to.
title (string)
The item's title.
content (array|string)
The item's content. Return value type depends on the value of the content_strings parameter.