CMB2_Display_Textarea_Code

The CMB2 CMB2 Display Textarea Code class.

Defined (1)

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

/includes/CMB2_Field_Display.php  
  1. class CMB2_Display_Textarea_Code extends CMB2_Field_Display { 
  2. /** 
  3. * Display textarea_code value. 
  4. * @since 2.2.2 
  5. */ 
  6. protected function _display() { 
  7. echo '<xmp class="cmb2-code">'. print_r( $this->value, true ) .'</xmp>';