Smart COD for WooCommerce icon
eCommerce & WooCommerce

Smart COD for WooCommerce hooks reference

  • By FullStack-ing
  • v1.9.11 New
  • Updated

Smart COD for WooCommerce 1.9.11 has 0 actions and 17 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Change a value Smart COD for WooCommerce is about to use
add_filter( 'wsc_cancelled_cod_payment_methods', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • includes/class-wc-smart-cod-cancelled-cod-collector.php line 336 · used in 3 places
    apply_filters( 'wsc_cancelled_cod_payment_methods', array( 'cod' ) );
  • public/class-wc-smart-cod-public.php line 483 · used in 2 places
    apply_filters( 'wc_smart_cod_available', false, $this->restriction_settings );
  • public/class-wc-smart-cod-public.php line 431
    apply_filters( 'wc_smart_cod_fee', is_numeric( $extra_fee ) ? $extra_fee : 0, $this->fee_settings );
  • public/class-wc-smart-cod-public.php line 439
    apply_filters( 'wc_smart_cod_fee_title', $label );
  • includes/class-wc-smart-cod-cancelled-cod-collector.php line 291
    apply_filters( 'wsc_cancelled_cod_collection_batch_size', self::DEFAULT_BATCH_SIZE );
  • includes/class-wc-smart-cod-cancelled-cod-collector.php line 405
    apply_filters( 'wsc_cancelled_cod_has_dispatch_evidence', $has_evidence, $order, $record );
  • includes/class-wc-smart-cod-cancelled-cod-collector.php line 626
    apply_filters( 'wsc_cancelled_cod_known_tracking_plugins', array( 'woocommerce-shipment-tracking/woocommerce-shipment-tracking.php', 'ast-pro/ast-pro.php', 'woocommerce-order-tracking/woocommerce-order-tracking.php', 'yith-woocommerce-order-tracking/init.php', 'aftership-woocommerce-tracking/aftership-woocommerce-tracking.php', 'woocommerce-shipment-tracking-pro/woocommerce-shipment-tracking-pro.php', ) );
  • includes/class-wc-smart-cod-cancelled-cod-collector.php line 472
    apply_filters( 'wsc_cancelled_cod_prior_completed_candidate_limit', self::MAX_PRIOR_COMPLETED_TRACKED_COD_ORDERS );
  • includes/class-wc-smart-cod-cancelled-cod-collector.php line 452
    apply_filters( 'wsc_cancelled_cod_prior_completed_tracked_cod_count', $count, $order, $order_ids );
  • includes/class-wc-smart-cod-cancelled-cod-collector.php line 697
    apply_filters( 'wsc_cancelled_cod_tracking_data', $tracking, $order );
  • includes/class-wc-smart-cod-cancelled-cod-collector.php line 597
    apply_filters( 'wsc_cancelled_cod_untracked_fallback_minimum_age', DAY_IN_SECONDS, $order );
  • includes/class-wc-smart-cod-cancelled-cod-collector.php line 606
    apply_filters( 'wsc_cancelled_cod_use_untracked_fallback', true, $order, $cancelled, $from );
  • includes/class-wc-smart-cod-ai-outbox.php line 994
    apply_filters( 'wsc_smart_cod_ai_batch_size', self::DEFAULT_BATCH_SIZE );
  • includes/class-wc-smart-cod-ai-outbox.php line 891
    apply_filters( 'wsc_smart_cod_ai_endpoint', $endpoint );
  • includes/class-wc-smart-cod-ai-outbox.php line 1002
    apply_filters( 'wsc_smart_cod_ai_interval', self::DEFAULT_INTERVAL );
  • includes/class-wc-smart-cod-ai-outbox.php line 905
    apply_filters( 'wsc_smart_cod_ai_lookup_endpoint', $endpoint );
  • includes/class-wc-smart-cod-ai-outbox.php line 899
    apply_filters( 'wsc_smart_cod_ai_registration_endpoint', $endpoint );

Generated from Smart COD for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: