get_property( 'content', '' ); $styles = $this->get_element_styles(); $style_attr = $this->create_style_string( $styles ); // Résoudre les variables {{var_name}} depuis le flat order_data. foreach ( $this->order_data as $key => $value ) { if ( is_string( $value ) || is_numeric( $value ) ) { $content = str_replace( '{{' . $key . '}}', (string) $value, $content ); } } $html = '
'; $html .= '

' . nl2br( htmlspecialchars( $content ) ) . '

'; $html .= '
'; return $html; } }