| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* License field |
| 5 |
* |
| 6 |
* @link https://themeatelier.net |
| 7 |
* @since 1.0.0 |
| 8 |
* |
| 9 |
* @package darkify |
| 10 |
* @subpackage darkify/src/Admin/Views/Control |
| 11 |
* @author ThemeAtelier<themeatelierbd@gmail.com> |
| 12 |
*/ |
| 13 |
|
| 14 |
namespace ThemeAtelier\Darkify\Admin\Views; |
| 15 |
|
| 16 |
use ThemeAtelier\Darkify\Admin\Framework\Classes\Darkify; |
| 17 |
|
| 18 |
class License |
| 19 |
{ |
| 20 |
/** |
| 21 |
* Create Option fields for the setting options. |
| 22 |
* |
| 23 |
* @param string $prefix Option setting key prefix. |
| 24 |
* @return void |
| 25 |
*/ |
| 26 |
public static function options($prefix) |
| 27 |
{ |
| 28 |
Darkify::createSection( |
| 29 |
$prefix, |
| 30 |
array( |
| 31 |
'title' => esc_html__('LICENSE', 'darkify'), |
| 32 |
'icon' => 'icofont-key', |
| 33 |
'fields' => array( |
| 34 |
array( |
| 35 |
'id' => 'license_key', |
| 36 |
'type' => 'license', |
| 37 |
), |
| 38 |
), |
| 39 |
), |
| 40 |
); |
| 41 |
} |
| 42 |
} |
| 43 |
|