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