@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The main Kirki object |
|
4 | - * |
|
5 | - * @package Kirki |
|
6 | - * @category Core |
|
7 | - * @author Aristeides Stathopoulos |
|
8 | - * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
9 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
10 | - * @since 1.0 |
|
11 | - */ |
|
3 | + * The main Kirki object |
|
4 | + * |
|
5 | + * @package Kirki |
|
6 | + * @category Core |
|
7 | + * @author Aristeides Stathopoulos |
|
8 | + * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
9 | + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
10 | + * @since 1.0 |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | // Exit if accessed directly |
14 | 14 | if ( ! defined( 'ABSPATH' ) ) { |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The Kirki API class. |
|
4 | - * Takes care of adding panels, sections & fields to the customizer. |
|
5 | - * For documentation please see https://github.com/aristath/kirki/wiki |
|
6 | - * |
|
7 | - * @package Kirki |
|
8 | - * @category Core |
|
9 | - * @author Aristeides Stathopoulos |
|
10 | - * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
11 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
12 | - * @since 1.0 |
|
13 | - */ |
|
3 | + * The Kirki API class. |
|
4 | + * Takes care of adding panels, sections & fields to the customizer. |
|
5 | + * For documentation please see https://github.com/aristath/kirki/wiki |
|
6 | + * |
|
7 | + * @package Kirki |
|
8 | + * @category Core |
|
9 | + * @author Aristeides Stathopoulos |
|
10 | + * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
11 | + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
12 | + * @since 1.0 |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | // Exit if accessed directly |
16 | 16 | if ( ! defined( 'ABSPATH' ) ) { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | public static function add_config( $config_id, $args = array() ) { |
52 | 52 | $config = Kirki_Config::get_instance( $config_id, $args ); |
53 | 53 | $config_args = $config->get_config(); |
54 | - self::$config[ $config_args['id'] ] = $config_args; |
|
54 | + self::$config[$config_args['id']] = $config_args; |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | $args['active_callback'] = ( isset( $args['required'] ) ) ? array( 'Kirki_Active_Callback', 'evaluate' ) : '__return_true'; |
71 | 71 | } |
72 | 72 | |
73 | - self::$panels[ $args['id'] ] = $args; |
|
73 | + self::$panels[$args['id']] = $args; |
|
74 | 74 | |
75 | 75 | } |
76 | 76 | |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | $args['active_callback'] = ( isset( $args['required'] ) ) ? array( 'Kirki_Active_Callback', 'evaluate' ) : '__return_true'; |
93 | 93 | } |
94 | 94 | |
95 | - self::$sections[ $args['id'] ] = $args; |
|
95 | + self::$sections[$args['id']] = $args; |
|
96 | 96 | |
97 | 97 | } |
98 | 98 |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Checkbox Customizer Control. |
|
4 | - * |
|
5 | - * @package Kirki |
|
6 | - * @subpackage Controls |
|
7 | - * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
8 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
9 | - * @since 1.0 |
|
10 | - */ |
|
3 | + * Checkbox Customizer Control. |
|
4 | + * |
|
5 | + * @package Kirki |
|
6 | + * @subpackage Controls |
|
7 | + * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
8 | + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
9 | + * @since 1.0 |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | // Exit if accessed directly |
13 | 13 | if ( ! defined( 'ABSPATH' ) ) { |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * code Customizer Control. |
|
4 | - * |
|
5 | - * Creates a new custom control. |
|
6 | - * Custom controls accept raw HTML/JS. |
|
7 | - * |
|
8 | - * @package Kirki |
|
9 | - * @subpackage Controls |
|
10 | - * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
11 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
12 | - * @since 1.0 |
|
13 | - */ |
|
3 | + * code Customizer Control. |
|
4 | + * |
|
5 | + * Creates a new custom control. |
|
6 | + * Custom controls accept raw HTML/JS. |
|
7 | + * |
|
8 | + * @package Kirki |
|
9 | + * @subpackage Controls |
|
10 | + * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
11 | + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
12 | + * @since 1.0 |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | // Exit if accessed directly |
16 | 16 | if ( ! defined( 'ABSPATH' ) ) { |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * color-alpha Customizer Control. |
|
4 | - * |
|
5 | - * @package Kirki |
|
6 | - * @subpackage Controls |
|
7 | - * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
8 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
9 | - * @since 1.0 |
|
10 | - */ |
|
3 | + * color-alpha Customizer Control. |
|
4 | + * |
|
5 | + * @package Kirki |
|
6 | + * @subpackage Controls |
|
7 | + * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
8 | + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
9 | + * @since 1.0 |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | // Exit if accessed directly |
13 | 13 | if ( ! defined( 'ABSPATH' ) ) { |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * custom Customizer Control. |
|
4 | - * |
|
5 | - * Creates a new custom control. |
|
6 | - * Custom controls accept raw HTML/JS. |
|
7 | - * |
|
8 | - * @package Kirki |
|
9 | - * @subpackage Controls |
|
10 | - * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
11 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
12 | - * @since 1.0 |
|
13 | - */ |
|
3 | + * custom Customizer Control. |
|
4 | + * |
|
5 | + * Creates a new custom control. |
|
6 | + * Custom controls accept raw HTML/JS. |
|
7 | + * |
|
8 | + * @package Kirki |
|
9 | + * @subpackage Controls |
|
10 | + * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
11 | + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
12 | + * @since 1.0 |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | // Exit if accessed directly |
16 | 16 | if ( ! defined( 'ABSPATH' ) ) { |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * dimension Customizer Control. |
|
4 | - * |
|
5 | - * @package Kirki |
|
6 | - * @subpackage Controls |
|
7 | - * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
8 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
9 | - * @since 1.0 |
|
10 | - */ |
|
3 | + * dimension Customizer Control. |
|
4 | + * |
|
5 | + * @package Kirki |
|
6 | + * @subpackage Controls |
|
7 | + * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
8 | + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
9 | + * @since 1.0 |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | // Exit if accessed directly |
13 | 13 | if ( ! defined( 'ABSPATH' ) ) { |
@@ -1,15 +1,15 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * editor Customizer Control. |
|
4 | - * |
|
5 | - * Creates a TinyMCE textarea. |
|
6 | - * |
|
7 | - * @package Kirki |
|
8 | - * @subpackage Controls |
|
9 | - * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
10 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
11 | - * @since 1.0 |
|
12 | - */ |
|
3 | + * editor Customizer Control. |
|
4 | + * |
|
5 | + * Creates a TinyMCE textarea. |
|
6 | + * |
|
7 | + * @package Kirki |
|
8 | + * @subpackage Controls |
|
9 | + * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
10 | + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
11 | + * @since 1.0 |
|
12 | + */ |
|
13 | 13 | |
14 | 14 | // Exit if accessed directly |
15 | 15 | if ( ! defined( 'ABSPATH' ) ) { |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * editor Customizer Control. |
|
4 | - * |
|
5 | - * Multiple checkbox customize control class. |
|
6 | - * Props @ Justin Tadlock: http://justintadlock.com/archives/2015/05/26/multiple-checkbox-customizer-control |
|
7 | - * |
|
8 | - * @package Kirki |
|
9 | - * @subpackage Controls |
|
10 | - * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
11 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
12 | - * @since 1.0 |
|
13 | - */ |
|
3 | + * editor Customizer Control. |
|
4 | + * |
|
5 | + * Multiple checkbox customize control class. |
|
6 | + * Props @ Justin Tadlock: http://justintadlock.com/archives/2015/05/26/multiple-checkbox-customizer-control |
|
7 | + * |
|
8 | + * @package Kirki |
|
9 | + * @subpackage Controls |
|
10 | + * @copyright Copyright (c) 2016, Aristeides Stathopoulos |
|
11 | + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
|
12 | + * @since 1.0 |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | // Exit if accessed directly |
16 | 16 | if ( ! defined( 'ABSPATH' ) ) { |