WordPress filter hook

woocommerce_terms_is_checked_default

Defined by WooCommerce and fired by 15 plugins in total, running on 7M+ sites between them.

How to use woocommerce_terms_is_checked_default

It's a filter: your callback receives the value, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'woocommerce_terms_is_checked_default', function( $isset ) {
	// Change $isset here.
	return $isset;
}, 10, 1 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

15 plugins that fire woocommerce_terms_is_checked_default

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ) templates/checkout/terms.php:30
  2. SellKit icon SellKit7,000+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ) includes/block-editor/blocks/checkout/templates/terms.php:30
  3. 워드프레스 결제 심플페이 icon 워드프레스 결제 심플페이900+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ) templates/checkout/pafw/terms.php:16
  4. Connect WooCommerce Shop to ERP/CRM, Verifactu and EU/VAT Compliance icon Connect WooCommerce Shop to ERP/CRM, Verifactu and EU/VAT Compliance900+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ) includes/Frontend/Checkout.php:320
  5. Terms and Conditions per Product for WooCommerce icon Terms and Conditions per Product for WooCommerce700+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST[ $check_item_id ] ) ) app/main/class-tacpp4-terms-conditions-per-product.php:495
  6. WC Booster icon WC Booster700+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST[ 'terms' ] ) ) inc/checkout.php:106
  7. StoreBuild icon StoreBuild400+ installs apply_filters( 'woocommerce_terms_is_checked_default', $terms ) public/widgets/elementor/checkout-payment.php:262
  8. Sticky Product Add to Cart and Checkout Bar for WooCommerce icon Sticky Product Add to Cart and Checkout Bar for WooCommerce200+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ) templates/wc-sticky-product-bar/checkout-bar.php:18
  9. KiriminAja Official icon KiriminAja Official200+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ) templates/woocommerce/checkout/terms.php:31
  10. Polski for WooCommerce icon Polski for WooCommerce90+ installs apply_filters( 'woocommerce_terms_is_checked_default', false ) src/Service/SiteAuditService.php:618
  11. سرویس خرید پستی ماها icon سرویس خرید پستی ماها10+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ) checkout/payment.php:44
  12. LapinoPay icon LapinoPay10+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset($_POST['terms']) ) templates/payment-fields.php:29
  13. On-Page Checkout for WooCommerce icon On-Page Checkout for WooCommerce10+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ) includes/ajax-handler.php:389
  14. WPC icon WPC10+ installs apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ) app/inc/Addons/wpc-onepage-checkout/templates/checkout/place-order.php:25
  15. MCOD Minimalist Checkout for WooCommerce icon MCOD Minimalist Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_terms_is_checked_default', ! empty( $_POST['terms'] ) ) templates/woocommerce/checkout/terms.php:34

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.