Current Path : /storage/v11800/affypharma/public_html/wp-content/themes/izo/inc/customizer/custom-controls/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/themes/izo/inc/customizer/custom-controls/class_izo_info.php |
<?php
/**
* Info control
*
* @package Izo
*/
class Izo_Info extends WP_Customize_Control {
public $type = 'izo-info';
public $label = '';
public $description = '';
public $attr = '';
public function render_content() {
?>
<?php if ( $this->label ) : ?>
<?php if ( '' === $this->attr ) : ?>
<p class="izo-customizer-info"><?php echo wp_kses_post( $this->label ); ?></p>
<?php else : ?>
<p><?php echo $this->label; ?></p>
<?php endif; ?>
<?php endif; ?>
<?php
}
}