diff --git a/lib.php b/lib.php index facebdd..bb4dfb4 100644 --- a/lib.php +++ b/lib.php @@ -37,3 +37,11 @@ function local_analytics_before_footer() { injector::inject(); } + +/** + * Output callback, available since Moodle 3.3 + * + */ +function local_analytics_before_http_headers() { + injector::inject(); +} \ No newline at end of file