Elgg  Version 5.1
header_logo.php
Go to the documentation of this file.
1 <?php
6 echo elgg_format_element('h1', ['class' => 'elgg-heading-site'], elgg_view_entity_url(elgg_get_site_entity()));
elgg_get_site_entity()
Get the current site entity.
Definition: entities.php:98
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145
elgg_view_entity_url(\ElggEntity $entity, array $options=[])
Helper function for outputting a link to an entity.
Definition: views.php:1498