# darkify/2.1.2/src/Admin/Views/License.php

Darkify – Dark Mode &amp; Night Mode for Website &amp; Admin (Dark Theme Included), version 2.1.2. 44 lines.

- Page: https://pluginprobe.com/plugins/darkify/2.1.2/code/src/Admin/Views/License.php
- Raw: https://pluginprobe.com/plugins/darkify/2.1.2/raw/src/Admin/Views/License.php
- Modified: 2026-08-31T07:28:12+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/darkify/2.1.2/code/src/Admin/Views/License.php#L10-L20`.

```php
<?php

/**
 * License field
 *
 * @link       https://themeatelier.net
 * @since      1.0.0
 *
 * @package darkify
 * @subpackage darkify/src/Admin/Views/Control
 * @author     ThemeAtelier<themeatelierbd@gmail.com>
 */

namespace ThemeAtelier\Darkify\Admin\Views;

use ThemeAtelier\Darkify\Admin\Schema\SchemaRegistry as Darkify;

class License
{
    /**
     * Create Option fields for the setting options.
     *
     * @param string $prefix Option setting key prefix.
     * @return void
     */
    public static function options($prefix)
    {
        Darkify::createSection(
            $prefix,
            array(
                'id'          => 'license',
                'title'       => esc_html__('License', 'darkify'),
                'icon'        => 'icofont-key',
                'fields'      => array(
                    array(
                        'id'   => 'license_key',
                        'type' => 'license',
                        ),
                ),
            ),
        );
    }
}

```
