Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Noptin Newsletter Team

    (@picocodes)

    Add the following PHP code snippet to your site:-

    add_action( 'getpaid_after_payment_form_billing_email', function() {
       ?>
           <label>
    	    <input type="checkbox" name="mc4wp-subscribe" value="1" />
    	    Sign-up to our newsletter.
            </label>
       <?php
    });
    Thread Starter joesainz

    (@joesainz)

    Thanks @picocodes, that works for passing the email. Is it possible to filter the html forms name=”billing[wpinv_first_name]” to name=”wp4mc-fname” or will that break things?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding Custom HTML to Payment Form’ is closed to new replies.