COD Express Checkout 1.0.0 has 16 actions and 15 filters, read directly from its source code on Nov 18, 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.
// Run your own code when COD Express Checkout fires an action
add_action( 'cod_express_checkout_after_button', function() {
// Your code runs here.
}, 10, 1 );
// Change a value COD Express Checkout is about to use
add_filter( 'cod_express_checkout_cod_enabled', function( $is_enabled ) {
// Change $is_enabled here.
return $is_enabled;
}, 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
-
/** * Filter whether COD is considered enabled. */ apply_filters( 'cod_express_checkout_cod_enabled', $is_enabled ); -
/** * Filter supported product types for express checkout. */ apply_filters( 'cod_express_checkout_supported_product_types', $supported_types, $product ); -
/** * Fires after the submit button. */ do_action( 'cod_express_checkout_after_button' ); -
/** * Fires after the form fields. */ do_action( 'cod_express_checkout_after_fields' ); -
/** * Fires after the express checkout form. */ do_action( 'cod_express_checkout_after_form', $cod_express_product ); -
/** * Fires after order creation. */ do_action( 'cod_express_checkout_after_order_create', $order, $data, $product_to_add ); -
/** * Filter available checkout fields. */ apply_filters( 'cod_express_checkout_available_fields', $fields ); -
/** * Fires before the submit button. */ do_action( 'cod_express_checkout_before_button' ); -
/** * Fires before the form fields. */ do_action( 'cod_express_checkout_before_fields' ); -
/** * Fires before the express checkout form. */ do_action( 'cod_express_checkout_before_form', $cod_express_product ); -
/** * Fires before order creation. */ do_action( 'cod_express_checkout_before_order_create', $data, $product, $product_to_add ); -
/** * Filter billing address before setting. */ apply_filters( 'cod_express_checkout_billing_address', $billing_address, $data, $order ); -
/** * Fires after order emails are sent. */ do_action( 'cod_express_checkout_emails_sent', $order ); -
/** * Fires at the end of the form. */ do_action( 'cod_express_checkout_form_end' ); -
/** * Fires at the start of the form. */ do_action( 'cod_express_checkout_form_start' ); -
/** * Fires after COD Express Checkout is fully loaded. */ do_action( 'cod_express_checkout_loaded', $this ); -
/** * Filter the default order status for COD express orders. */ apply_filters( 'cod_express_checkout_order_status', 'processing', $order ); -
/** * Fires after product is added to order. */ do_action( 'cod_express_checkout_product_added', $order, $product, $quantity, $item_id, $variation_data ); -
/** * Filter the rate limit for guests (requests per minute). */ apply_filters( 'cod_express_checkout_rate_limit', 5 ); -
/** * Filter the rate limit for logged-in users (requests per minute). */ apply_filters( 'cod_express_checkout_rate_limit_logged_in', 20 ); -
/** * Filter sanitized input data. */ apply_filters( 'cod_express_checkout_sanitized_data', $data ); -
/** * Filter shipping address before setting. */ apply_filters( 'cod_express_checkout_shipping_address', $shipping_address, $data, $order ); -
/** * Filter whether to show quantity field. */ apply_filters( 'cod_express_checkout_show_quantity', false ); -
/** * Filter the success response. */ apply_filters( 'cod_express_checkout_success_response', $response, $order ); -
/** * Filter the template path. */ apply_filters( 'cod_express_checkout_template', $template, $template_name, $args ); -
/** * Fires after plugin data cleanup. */ do_action( 'cod_express_checkout_uninstalled' ); -
/** * Fires during input validation. */ do_action( 'cod_express_checkout_validate_input', $data ); -
apply_filters( 'cod_express_checkout_button_text', $text ); -
apply_filters( 'cod_express_checkout_enabled_fields', $enabled_fields ); -
apply_filters( 'cod_express_checkout_form_title', $title ); -
do_action( 'woocommerce_checkout_order_processed', $order->get_id(), $data, $order );
Generated from COD Express Checkout's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: