mirror of
https://ghproxy.net/https://github.com/AlxMedia/splits.git
synced 2025-08-27 00:23:21 +08:00
Initial commit
This commit is contained in:
commit
9f13aa6240
389 changed files with 84369 additions and 0 deletions
30
functions/kirki/controls/php/class-kirki-control-generic.php
Normal file
30
functions/kirki/controls/php/class-kirki-control-generic.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
/**
|
||||
* Customizer Control: kirki-generic.
|
||||
*
|
||||
* @package Kirki
|
||||
* @subpackage Controls
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 2.0
|
||||
*/
|
||||
|
||||
// Exit if accessed directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic and pretty abstract control.
|
||||
* Allows for great manipulation using the field's "choices" argumnent.
|
||||
*/
|
||||
class Kirki_Control_Generic extends Kirki_Control_Base {
|
||||
|
||||
/**
|
||||
* The control type.
|
||||
*
|
||||
* @access public
|
||||
* @var string
|
||||
*/
|
||||
public $type = 'kirki-generic';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue