# gdpr-framework/trunk/src/Admin/AdminError.php

The GDPR Framework By Data443, version trunk. 16 lines.

- Page: https://pluginprobe.com/plugins/gdpr-framework/trunk/code/src/Admin/AdminError.php
- Raw: https://pluginprobe.com/plugins/gdpr-framework/trunk/raw/src/Admin/AdminError.php
- Modified: 2022-03-03T17:26:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/gdpr-framework/trunk/code/src/Admin/AdminError.php#L10-L20`.

```php
<?php


namespace Codelight\GDPR\Admin;

class AdminError extends AdminNotice
{
    public function render()
    {
        if (!$this->template) {
            return;
        }

        echo gdpr('view')->render($this->template, $this->data);
    }
}
```
