Skip to content

Instantly share code, notes, and snippets.

@matthijs166
Created March 1, 2019 11:25
Show Gist options
  • Save matthijs166/b55cc8d4dbe60a0e6bdee2f8d0a724f4 to your computer and use it in GitHub Desktop.
Save matthijs166/b55cc8d4dbe60a0e6bdee2f8d0a724f4 to your computer and use it in GitHub Desktop.
function patricks_wc_terms( $terms_is_checked ) {
return true;
}
add_filter( 'woocommerce_terms_is_checked', 'patricks_wc_terms', 10 );
add_filter( 'woocommerce_terms_is_checked_default', 'patricks_wc_terms', 10 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment