PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 1.10.0
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v1.10.0
2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 0.0.2 0.0.3 All 96 releases
sureforms / templates / forms / subscription-form.php
subscription-form.php
30 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 * Subscription Form pattern.
4 *
5 * @link https://sureforms.com
6 * @since 0.0.2
7 * @package SureForms/Templates/Forms
8 * @author SureForms <https://sureforms.com/>
9 */
10
11 if ( ! defined( 'ABSPATH' ) ) {
12 exit; // Exit if accessed directly.
13 }
14
15 return [
16 'title' => __( 'Subscription Form', 'sureforms' ),
17 'slug' => 'subscription-form',
18 'info' => __( 'Form for Subscription', 'sureforms' ),
19 'categories' => [ 'sureforms_form' ],
20 'templateCategory' => __( 'Subscription', 'sureforms' ),
21 'postTypes' => SRFM_FORMS_POST_TYPE,
22 'content' => '<!-- wp:srfm/advanced-heading {"block_id":"6b9decba","headingTitle":"Subscribe to our Blog Post","headingTag":"h3","blockTopPadding":0,"blockRightPadding":0,"blockLeftPadding":0,"blockBottomPadding":0,"blockTopMargin":0,"blockRightMargin":0,"blockLeftMargin":0,"blockBottomMargin":20} /--><!-- wp:srfm/email {"block_id":"6ef07308","label":"Your Email","formId":83} /-->',
23 'postMetas' => [
24 '_srfm_submit_alignment' => [ 'justify' ],
25 '_srfm_submit_width' => [ '100%' ],
26 '_srfm_submit_width_backend' => [ 'auto' ],
27 ],
28 'isPro' => false,
29 ];
30