Advertisement
majeedraza

WooCommerce - Make Terms box checked by default

Apr 26th, 2020
482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.13 KB | None | 0 0
  1. <?php
  2.   // WooCommerce - Make Terms box checked by default
  3.   add_filter( 'woocommerce_terms_is_checked_default', '__return_true' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement