PluginProbe
Customify / 2.1.3
Customify v2.1.3
2.10.9 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.7.1 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.0.1 1.6.5 1.7.0 1.7.1 All 77 releases
customify / features / customizer / class-Pix_Customize_Control.php

class-Pix_Customize_Control.php in Customify 2.1.3, at features/customizer/class-Pix_Customize_Control.php

25 lines 678 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Class Pix_Customize_Control
5 *
6 * with this class we will overwrite the default markup which WordPress comes with
7 */
8 class Pix_Customize_Control extends WP_Customize_Control {
9
10 /**
11 * Renders the control wrapper and calls $this->render_content() for the internals.
12 *
13 * @since 3.4.0
14 */
15 protected function render() {
16 $group = '';
17 $id = 'customize-control-' . str_replace( '[', '-', str_replace( ']', '', $this->id ) );
18 $class = 'pix_customizer_setting customize-control customize-control-' . $this->type;
19
20 ?><li id="<?php echo esc_attr( $id ); ?>" class="<?php echo esc_attr( $class ); ?>">
21 <?php $this->render_content(); ?>
22 </li><?php
23 }
24 }
25