Layers_Customize_Heading_Control

The Layers Layers Customize Heading Control class.

Defined (1)

The class is defined in the following location(s).

/core/customizer/controls/heading.php  
  1. class Layers_Customize_Heading_Control extends Layers_Customize_Control { 
  2.  
  3. public $type = 'layers-heading'; 
  4.  
  5. public function render_content() { 
  6. ?> 
  7.  
  8. <div id="layers-customize-control-<?php echo esc_attr( $this->id ); ?>" class="l_option-customize-control l_option-customize-control-<?php echo esc_attr( str_replace( 'layers-', '', $this->type ) ); ?> <?php echo esc_attr( $this->class ); ?>" <?php echo $this->get_linked_data(); ?> > 
  9.  
  10. <?php if ( '' != $this->heading_divider ) { ?> 
  11. <?php $this->render_heading_divider( $this->heading_divider ); ?> 
  12. <?php } ?> 
  13.  
  14. <?php if ( '' != $this->label ) { ?> 
  15. <span class="customize-control-title"><?php echo $this->label; ?></span> 
  16. <?php } ?> 
  17.  
  18. <?php if ( '' != $this->description ) : ?> 
  19. <div class="description customize-control-description"> 
  20. <?php echo $this->description; ?> 
  21. </div> 
  22. <?php endif; ?> 
  23.  
  24. </div> 
  25. <?php }