PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.9.1
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.9.1
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 / plain-text / contact-email.php

contact-email.php in aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder 2.9.1, at templates/email/plain-text/contact-email.php

17 lines 700 B
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 esc_html_e( 'New Contact Form Submission', 'ablocks' ) . "\n";
7 esc_html_e( 'You have a new contact form submission!', 'ablocks' ) . "\n";
8 esc_html_e( 'Email:', 'ablocks' ) . esc_html( $email ) . "\n";
9 esc_html_e( 'Message:', 'ablocks' ) . "\n";
10 echo wp_kses_post( $message ) . "\n";
11 esc_html_e( 'Login to your admin panel to view the submission.', 'ablocks' ) . "\n";
12
13 $url = wp_parse_url( get_bloginfo( 'url' ) );
14 $host = isset( $url['host'] ) ? sanitize_text_field( $url['host'] ) : '';
15 $port = isset( $url['port'] ) ? sanitize_text_field( (string) $url['port'] ) : '80';
16 echo '&copy;' . esc_html( $host . ':' . $port );
17