# yaymail/3.3.7/includes/Templates/Elements/YayMail/Hook.php

YayMail – WooCommerce Email Customizer, version 3.3.7. 32 lines.

- Page: https://pluginprobe.com/plugins/yaymail/3.3.7/code/includes/Templates/Elements/YayMail/Hook.php
- Raw: https://pluginprobe.com/plugins/yaymail/3.3.7/raw/includes/Templates/Elements/YayMail/Hook.php
- Modified: 2023-10-25T10:19:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yaymail/3.3.7/code/includes/Templates/Elements/YayMail/Hook.php#L10-L20`.

```php
<table
  width="<?php esc_attr_e( $general_attrs['tableWidth'], 'woocommerce' ); ?>"
  cellspacing="0"
  cellpadding="0"
  border="0"
  align="center"
  style="display: table; <?php echo esc_attr( 'background-color: ' . $attrs['backgroundColor'] ); ?>; <?php echo ! $isInColumns ? esc_attr( 'min-width:' . $general_attrs['tableWidth'] . 'px' ) : esc_attr( 'width: 100%' ); ?>"
  class="web-main-row"
  id="web<?php echo esc_attr( $id ); ?>"
  >
  <tbody>
	  <tr>
		<td
		  id="web-<?php echo esc_attr( $id ); ?>-yaymail-hook"
		  class="web-yaymail-hook"
		  align="left"
		  style="font-size: 13px; line-height: 22px; word-break: break-word;
		  font-family: <?php echo wp_kses_post( str_replace( '"', '', $attrs['family'] ) ); ?>;
		  <?php echo esc_attr( 'padding: ' . $attrs['paddingTop'] . 'px ' . $attrs['paddingRight'] . 'px ' . $attrs['paddingBottom'] . 'px ' . $attrs['paddingLeft'] . 'px;' ); ?>
		  "
		>
		  <div
		  class="yaymail-items-order-border"
			style="min-height: 10px; <?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>"
		  >
		  <?php echo wp_kses_post( $attrs['content'] ); ?>
		  </div>
		</td>
	  </tr>
	</tbody>
  </table>

```
