PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.9.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.9.0
2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 All 80 releases
ablocks / templates / email / new-subscriber.php

new-subscriber.php in aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder 2.9.0, at templates/email/new-subscriber.php

36 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5
6 \ABlocks\Helper::get_template( 'email/template-header.php' );
7 ?>
8 <div class="ablocks-container">
9 <div class="ablocks-content">
10 <div class="ablocks-wrapper">
11 <h5 class="ablocks-main-heading"><?php esc_html_e( 'You have a new subscriber', 'ablocks' ); ?></h5>
12 <div class="ablocks-entry-content">
13 <p><strong><?php esc_html_e( 'You have a new subscriber from form submission!', 'ablocks' ); ?></strong></p>
14 <p><strong><?php esc_html_e( 'Email', 'ablocks' ); ?>:</strong> <?php echo esc_html( $email ); ?></p>
15 <p><?php esc_html_e( 'To manage your subscribers or contacts, log in to your WordPress admin dashboard.', 'ablocks' ); ?></p>
16 </div>
17 <div class="ablocks-footer">
18 &copy; <?php
19 $url = wp_parse_url( get_bloginfo( 'url' ) );
20
21 // Ensure 'host' exists and set default for 'port' if missing
22 $host = isset( $url['host'] ) ? sanitize_text_field( $url['host'] ) : '';
23 $port = isset( $url['port'] ) ? sanitize_text_field( (string) $url['port'] ) : '80';
24
25 // Output the sanitized host and port
26 echo esc_html( $host . ':' . $port );
27 ?>
28
29 <?php // here is the footer ?>
30 </div>
31 </td>
32 </div>
33 </div>
34 <?php
35 \ABlocks\Helper::get_template( 'email/template-footer.php' );
36