Skip to content

Instantly share code, notes, and snippets.

@clifgriffin
Last active February 7, 2018 19:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save clifgriffin/1f8f441e47ccc72675ff9cc394322b2f to your computer and use it in GitHub Desktop.
<?php
// Do NOT include the opening php tag.
// Place in your theme's functions.php file
// Enable notes field on Checkout for WooCommerce
add_filter('woocommerce_enable_order_notes_field', '__return_true');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment