WCML_Editor_UI_WYSIWYG_Field

The WooCommerce Multilingual WCML Editor UI WYSIWYG Field class.

Defined (1)

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

/inc/translation-editor/class-wcml-editor-ui-wysiwyg-field.php  
  1. class WCML_Editor_UI_WYSIWYG_Field extends WPML_Editor_UI_WYSIWYG_Field{ 
  2.  
  3. public function __construct( $id, $title, $data, $include_copy_button, $requires_complete = false ) { 
  4.  
  5. $data[$id]['original'] = strpos( $data[$id]['original'], "\n" ) !== false ? 
  6. wpautop( $data[$id]['original'] ) : $data[$id]['original']; 
  7.  
  8. parent::__construct( $id, $title, $data, $include_copy_button, $requires_complete ); 
  9.