CMB2_Display_Text_Date

The CMB2 CMB2 Display Text Date class.

Defined (1)

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

/includes/CMB2_Field_Display.php  
  1. class CMB2_Display_Text_Date extends CMB2_Field_Display { 
  2. /** 
  3. * Display text_date value. 
  4. * @since 2.2.2 
  5. */ 
  6. protected function _display() { 
  7. echo $this->field->get_timestamp_format( 'date_format', $this->value );