elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view_page(string $title, string|array $body, string $page_shell= 'default', array $vars=[])
Assembles and outputs a full page.
elgg_set_context(string $context)
Elgg context library.
if(in_array($filename,\ElggPlugin::ADDITIONAL_TEXT_FILES)) if(!$file_contents) $title
if(!$plugin instanceof\ElggPlugin) $file_contents