getArticles
The getArticles hook allows you to replace a column’s articles with custom
content. It passes the page ID and the requested column (e.g. 'main') as
arguments. It expects a string as return value or null. If a string is
returned, no further hooks of the same type are executed and that content will
be shown in the front end.
Parameters
int
$pageIdThe articles’ parent page ID.
string
$columnThe column for which the articles are rendered.
Return Values
Return a string with the article’s new content or null to keep the default.