# templately/1.3.2/core/admin/class-settings.php

Templately – Elementor &amp; Gutenberg Template Library: 6500+ Free &amp; Pro Ready Templates And Cloud!, version 1.3.2. 37 lines.

- Page: https://pluginprobe.com/plugins/templately/1.3.2/code/core/admin/class-settings.php
- Raw: https://pluginprobe.com/plugins/templately/1.3.2/raw/core/admin/class-settings.php
- Modified: 2021-01-04T06:34:34+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/templately/1.3.2/code/core/admin/class-settings.php#L10-L20`.

```php
<?php
/**
 * Settings Class
 *
 * @package Templately
 */

namespace Templately\Admin;

defined('ABSPATH') or exit;

use Templately\Helper;
use Elementor\User;

class Settings {
    public static function init() {
        static::admin_menu();
    }

    public static function display() {
        Helper::views('core/admin/views/settings');
    }

    public static function admin_menu() {
        // TOOD: Role Management
        \add_menu_page(
            'Templately',
            'Templately',
            'delete_posts',
            'templately',
            array(__CLASS__, 'display'),
            TEMPLATELY_ASSETS . 'images/logo-icon.svg',
            '58.7'
        );
    }
}

```
