Advertisement
5ally

Untitled

Jul 9th, 2019
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1. // Start your PHP snippet with a ?>
  2. ?>
  3. <!-- Content. Edit as you wish. -->
  4. <h3>Popup Title</h3>
  5. <p>Lorem ipsum dolor bla blah.</p>
  6.  
  7. <!-- Edit only those necessary. -->
  8. <form method="post" action="<?php echo esc_url( home_url() ); ?>">
  9.     <input name="accept" type="checkbox" value="Gdpr" required /> I accept the GDPR
  10.     <input type="submit" id="accept-button" value="Accept" />
  11.     <?php wp_nonce_field( 'accept-gdpr', 'accept_gdpr_nonce' ); ?>
  12. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement