Mecha CMS

To::page()

Convert array into page file content.

2.2.0Static

To::page(array $in);

Example:

echo To::page([
    'title' => 'Page Title',
    'description' => 'Page description.',
    'content' => 'Page content.'
]);