enigma_Customize_Misc_Control

The Enigma enigma Customize Misc Control class.

Defined (1)

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

/customizer.php  
  1. class enigma_Customize_Misc_Control extends WP_Customize_Control { 
  2. public $settings = 'blogname'; 
  3. public $description = ''; 
  4. public function render_content() { 
  5. switch ( $this->type ) { 
  6. default: 
  7.  
  8. case 'heading': 
  9. echo '<span class="customize-control-title">' . esc_html( $this->label ) . '</span>'; 
  10. break; 
  11.  
  12. case 'line' : 
  13. echo '<hr />'; 
  14. break; 
  15.