CMB2_Display_Text_Money

The Maps Builder CMB2 Display Text Money class.

Defined (1)

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

/vendor/wordimpress/maps-builder-core/includes/libraries/metabox/includes/CMB2_Field_Display.php  
  1. class CMB2_Display_Text_Money extends CMB2_Field_Display { 
  2. /** 
  3. * Display text_money value. 
  4. * @since 2.2.2 
  5. */ 
  6. protected function _display() { 
  7. $this->value = $this->value ? $this->value : '0'; 
  8. echo ( ! $this->field->get_param_callback_result( 'before_field' ) ? '$' : ' ' ), $this->value;