PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.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 All 81 releases
← All changes | templates/email/plain-text/contact-email.php +15 -0 2.7.7 → 2.14.0 View file →
@@ -1,0 +1,15 @@
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 +
12 +$url = wp_parse_url( get_bloginfo( 'url' ) );
13 +$host = isset( $url['host'] ) ? sanitize_text_field( $url['host'] ) : '';
14 +$port = isset( $url['port'] ) ? sanitize_text_field( (string) $url['port'] ) : '80';
15 +echo esc_html( $host . ':' . $port );