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

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

- Page: https://pluginprobe.com/plugins/darkify/1.5.0/code/src/Admin/Views/License.php
- Raw: https://pluginprobe.com/plugins/darkify/1.5.0/raw/src/Admin/Views/License.php
- Modified: 2026-04-20T07:46:20+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/1.5.0/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\Framework\Classes\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(
                'title'       => esc_html__('LICENSE', 'darkify'),
                'icon'        => 'icofont-key',
                'fields'      => array(
                    array(
                        'id'   => 'license_key',
                        'type' => 'license',
                        ),
                ),
            ),
        );
    }
}

```
