PluginProbe
Getwid – Gutenberg Blocks / 2.0.6
Getwid – Gutenberg Blocks v2.0.6
3.0.2 3.0.1 3.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.2.0 trunk 1.8.7 1.9.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9
getwid / includes / templates / mailchimp / mailchimp.php

mailchimp.php in Getwid – Gutenberg Blocks 2.0.6, at includes/templates/mailchimp/mailchimp.php

34 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <form class='wp-block-getwid-mailchimp__form'>
2 <?php echo $extra_attr[ 'content' ]; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
3
4 <input name='list_ids' <?php
5 $data = json_encode( $attributes[ 'ids' ] );
6
7 if ( isset( $attributes[ 'ids' ] ) ) {?>
8 value='<?php echo esc_attr( $data ); ?>'<?php
9 }?>
10 type='hidden'
11 />
12
13 <p class='<?php echo esc_attr( $extra_attr[ 'block_name' ] . '__result' ); ?>'></p>
14
15 <div class='<?php echo esc_attr( $extra_attr[ 'block_name' ] . '__submit' ); ?>'>
16 <div class='wp-block-button'>
17 <button
18 type='submit'
19 class='<?php echo esc_attr( 'wp-block-button__link ' . $extra_attr[ 'button_class' ] ); ?>'<?php
20 if ( isset( $extra_attr[ 'button_style' ] ) ) { ?>
21 style='<?php echo esc_attr( $extra_attr[ 'button_style' ] ); ?>'<?php
22 } ?>
23 ><?php
24 if ( isset( $attributes[ 'text' ] ) && $attributes[ 'text' ] != '' ) {
25 echo wp_kses_post( $attributes[ 'text' ] );
26 } else {
27 echo esc_html__( 'Subscribe', 'getwid' );
28 }
29 ?></button>
30 </div>
31
32 </div>
33 </form>
34