Snippets: WooCommerce Remove Terms & Conditions Toggle

The following snippet will remove the default WooCommerce terms and conditions toggle and instead link to the actual page.

add_action( 'wp', function() {
  remove_action( 'woocommerce_checkout_terms_and_conditions', 'wc_checkout_privacy_policy_text', 20 );
  remove_action( 'woocommerce_checkout_terms_and_conditions', 'wc_terms_and_conditions_page_content', 30 );
} );
All PHP snippets should be added via a child theme's functions.php file.