Files
m5wp.momentry.ddns.net/plugins/wpforms-lite/templates/emails/general-style.php
OpenCode 09ef1f000f 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
2026-05-29 19:07:56 +08:00

31 lines
579 B
PHP

<?php
/**
* General style template.
*
* This template can be overridden by copying it to yourtheme/wpforms/emails/general-style.php.
*
* @since 1.5.4
*
* @version 1.5.4
*
* @var string $email_background_color
*/
if ( ! \defined( 'ABSPATH' ) ) {
exit;
}
require \WPFORMS_PLUGIN_DIR . '/assets/css/emails/general.min.css';
?>
body, .body {
background-color: <?php echo \esc_attr( $email_background_color ); ?>;
}
<?php if ( ! empty( $header_image_max_width ) ) : ?>
.header img {
max-width: <?php echo esc_attr( $header_image_max_width ); ?>px;
}
<?php endif; ?>