PluginProbe
YayMail – WooCommerce Email Customizer / 4.3.3
YayMail – WooCommerce Email Customizer v4.3.3
4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 3.4.2 3.4.3 All 55 releases
yaymail / src / Elements / SkeletonDivider.php

SkeletonDivider.php in YayMail – WooCommerce Email Customizer 4.3.3, at src/Elements/SkeletonDivider.php

31 lines 807 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace YayMail\Elements;
3
4 use YayMail\Abstracts\BaseElement;
5 use YayMail\Utils\SingletonTrait;
6 /**
7 * SkeletonDivider Elements
8 * This element is only used as a divider on email customizers, it should not be displayed on any test mail/ real mail.
9 */
10 class SkeletonDivider extends BaseElement {
11
12 use SingletonTrait;
13
14 protected static $type = 'skeleton_divider';
15
16 public $available_email_ids = [ YAYMAIL_ALL_EMAILS ];
17
18 public static function get_data( $attributes = [] ) {
19
20 return [
21 'id' => uniqid(),
22 'type' => self::$type,
23 'name' => __( 'Skeleton Divider', 'yaymail' ),
24 'group' => 'hidden',
25 'available' => true,
26 'position' => -1,
27 'data' => [],
28 ];
29 }
30 }
31