Skip to content

Snippet: 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 child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top