Completed
Push — develop ( 500eb7...2ba93e )
by Aristeides
02:14
created

Kirki_Control_Generic::content_template()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 27
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 27
rs 8.8571
c 0
b 0
f 0
1
<?php
2
/**
3
 * Customizer Control: kirki-generic.
4
 *
5
 * @package     Kirki
6
 * @subpackage  Controls
7
 * @copyright   Copyright (c) 2017, Aristeides Stathopoulos
8
 * @license     http://opensource.org/licenses/https://opensource.org/licenses/MIT
9
 * @since       2.0
10
 */
11
12
// Exit if accessed directly.
13
if ( ! defined( 'ABSPATH' ) ) {
14
	exit;
15
}
16
17
/**
18
 * A generic and pretty abstract control.
19
 * Allows for great manipulation using the field's "choices" argumnent.
20
 */
21
class Kirki_Control_Generic extends Kirki_Control_Base {
22
23
	/**
24
	 * The control type.
25
	 *
26
	 * @access public
27
	 * @var string
28
	 */
29
	public $type = 'kirki-generic';
30
}
31