1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<p> <?php _e( 'To get a custom integration to work, include the following HTML in the form you are trying to integrate with.', 'mailchimp-for-wp' ); ?> </p>
<?php ob_start(); ?> <p> <label> <input type="checkbox" name="mc4wp-subscribe" value="1" /> <?php _e( 'Subscribe to our newsletter.', 'mailchimp-for-wp' ); ?> </label> </p>
<?php $html = ob_get_clean(); ?>
<textarea class="widefat code-sample" rows="<?php echo substr_count( $html, PHP_EOL ); ?>" readonly onfocus="this.select()"><?php echo esc_textarea( $html ); ?></textarea>
|