Skip to content

Instantly share code, notes, and snippets.

@dennisnissle
Created June 30, 2026 07:02
Show Gist options
  • Select an option

  • Save dennisnissle/f1cea31b6f4a392cca03282e45ecce40 to your computer and use it in GitHub Desktop.

Select an option

Save dennisnissle/f1cea31b6f4a392cca03282e45ecce40 to your computer and use it in GitHub Desktop.
Add a privacy policy notice to the withdrawal form
<?php
add_action( 'eu_owb_woocommerce_return_request_form_before_submit', function() {
echo '<p class="eu-owb-privacy-notice">By submitting this form, I agree to the <a href="https://my-shop.com/privacy-policy">privacy policy</a>.</p>';
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment