PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 11.1
Jetpack – WP Security, Backup, Speed, & Growth v11.1
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / modules / contact-form.php

contact-form.php in Jetpack – WP Security, Backup, Speed, & Growth 11.1, at modules/contact-form.php

37 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Contact form module.
4 *
5 * @package automattic/jetpack
6 */
7
8 /**
9 * Module Name: Contact Form
10 * Module Description: Add a customizable contact form to any post or page using the Jetpack Form Block.
11 * Sort Order: 15
12 * Recommendation Order: 14
13 * First Introduced: 1.3
14 * Requires Connection: No
15 * Auto Activate: Yes
16 * Module Tags: Other
17 * Feature: Writing
18 * Additional Search Queries: contact, form, grunion, feedback, submission, contact form, email, feedback, contact form plugin, custom form, custom form plugin, form builder, forms, form maker, survey, contact by jetpack, contact us, forms free
19 */
20
21 require_once __DIR__ . '/contact-form/grunion-contact-form.php';
22
23 /*
24 * Filters if the new Contact Form Editor View should be used.
25 *
26 * A temporary filter to disable the new Editor View for the older UI.
27 * Please note this filter and the old UI will be removed in the future.
28 * Expected to be removed in Jetpack 5.8 or if a security issue merits removing the old code sooner.
29 *
30 * @since 5.2.0
31 *
32 * @param boolean $view Use new Editor View. Default true.
33 */
34 if ( is_admin() && apply_filters( 'tmp_grunion_allow_editor_view', true ) ) {
35 require_once __DIR__ . '/contact-form/grunion-editor-view.php';
36 }
37