PHP 8.2.31
Preview: block.php Size: 833 B
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/newsletter/emails/blocks/separator/block.php

<?php
/*
 * Name: Separator
 * Section: content
 * Description: Separator
 *
 */

/** @var array $options */
/** @var array $composer */

$default_options = array(
    'color'=>'#dddddd',
    'height'=>1,
    'block_padding_top'=>20,
    'block_padding_bottom'=>20,
    'block_padding_right'=>20,
    'block_padding_left'=>20,
    'block_background'=>''

);

$options = array_merge($default_options, $options);
$options['block_padding_top'] = max((int)$options['block_padding_top'], 5);
$options['block_padding_bottom'] = max((int)$options['block_padding_bottom'], 5);


?>


<table border="0" cellpadding="0" cellspacing="0" width="100%" role="presentation">
    <tr>
        <td style="border-bottom: <?php echo esc_attr($options['height']) ?>px solid <?php echo sanitize_hex_color($options['color']) ?>;"></td>
    </tr>
</table>

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
833 B lrw-r--r-- 2026-06-03 14:57:28
Edit Download
4.87 KB lrw-r--r-- 2026-06-03 14:57:28
Edit Download
795 B lrw-r--r-- 2026-06-03 14:57:28
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).