\Onyx\Controller

See more information about the methods and their parameters in the complete reference


Properties

VariableTypeDescription
$templatesstring/arrayRelated templates
$contextarrayTimber context
$rederboolTimber::render. Default: true

Methods

__construct()

initialize()

get_timber_context()

set_global_context()

render_view()

no_render()

get_post()

get_posts()

set_context()

get_context()

set_templates()

set_page_templates()

set_archive_templates()

set_date_templates()

set_post_types_templates()

set_taxonomy_templates()