Initial commit: WordPress wp-content (themes, plugins, languages)
- Theme: momentry (custom theme with REST API routes) - Plugins: code-snippets (contains all API proxies) - Languages: zh_TW translations - Excludes: cache, backups, uploads, logs
This commit is contained in:
23
plugins/wpforms-lite/templates/emails/summary-style.php
Normal file
23
plugins/wpforms-lite/templates/emails/summary-style.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Email Summary style template.
|
||||
*
|
||||
* This template can be overridden by copying it to yourtheme/wpforms/emails/summary-style.php.
|
||||
*
|
||||
* @since 1.5.4
|
||||
* @since 1.8.8 Removed `$header_image_max_width` parameter.
|
||||
*
|
||||
* @var string $email_background_color Background color for the email.
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
require WPFORMS_PLUGIN_DIR . '/assets/css/emails/summary.min.css';
|
||||
|
||||
if ( ! empty( $email_background_color ) ) : ?>
|
||||
body, .body {
|
||||
background-color: <?php echo sanitize_hex_color( $email_background_color ); ?> !important;
|
||||
}
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user