Order Minimum/Maximum Amount Limits for WooCommerce 4.7.4 has 4 actions and 26 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.
// Run your own code when Order Minimum/Maximum Amount Limits for WooCommerce fires an action
add_action( 'alg_wc_oma_before_settings_user_roles', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Order Minimum/Maximum Amount Limits for WooCommerce is about to use
add_filter( 'alg_wc_oma_settings', 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
-
alg_wc_oma_settings
filterapply_filters( 'alg_wc_oma_settings', array( 'disabled' => 'disabled' ) ); -
alg_wc_oma_amount_input_type
filterapply_filters( 'alg_wc_oma_amount_input_type', 'number', 'amounts' ); -
alg_wc_oma_enabled_scopes
filterapply_filters( 'alg_wc_oma_enabled_scopes', array( '' ) ); -
active_plugins
filterapply_filters( 'active_plugins', (array) get_option( 'active_plugins', array() ) ); -
apply_filters( 'alg_wc_oma_after_get_min_max_amount_data', $amount_data, $min_or_max, $amount_type, $product_id, $scope ); -
alg_wc_oma_after_get_notices
filterapply_filters( 'alg_wc_oma_after_get_notices', $result, $area, $limits, $types ); -
alg_wc_oma_amount_cart_total
filterapply_filters( 'alg_wc_oma_amount_cart_total', $result, $type, $product_id, $do_count_by_term, $taxonomy ); -
alg_wc_oma_amount_format
filterapply_filters( 'alg_wc_oma_amount_format', $result, $value, $type ); -
alg_wc_oma_amount_title
filterapply_filters( 'alg_wc_oma_amount_title', $result, $type ); -
alg_wc_oma_amount_types
filterapply_filters( 'alg_wc_oma_amount_types', array( 'sum' => __( 'Sum', 'order-minimum-amount-for-woocommerce' ), 'qty' => __( 'Quantity', 'order-minimum-amount-for-woocommerce' ), 'weight' => __( 'Weight', 'order-minimum-amount-for-woocommerce' ), 'volume' => __( 'Volume', 'order-minimum-amount-for-woocommerce' ), 'length' => __( 'Length', 'order-minimum-amount-for-woocommerce' ), 'width' => __( 'Width', 'order-minimum-amount-for-woocomm... ); -
alg_wc_oma_amount_unit
filterapply_filters( 'alg_wc_oma_amount_unit', $result, $type, $currency ); -
apply_filters( 'alg_wc_oma_before_get_min_max_amount_data', $amount_data, $min_or_max, $amount_type, $product_id, $scope ); -
do_action( 'alg_wc_oma_before_settings_user_roles' ); -
alg_wc_oma_block_checkout
filterapply_filters( 'alg_wc_oma_block_checkout', true ); -
do_action( 'alg_wc_oma_check_notices_on_block_cart_change' ); -
apply_filters( 'alg_wc_oma_check_order_min_max_amount', $passed, $min_or_max, $amount_type, $amount, $total ); -
alg_wc_oma_core_loaded
actiondo_action( 'alg_wc_oma_core_loaded', $this ); -
apply_filters( 'alg_wc_oma_do_add_shipping_script', $do_load ); -
apply_filters( 'alg_wc_oma_enabled_message_sources', array( '' ) ); -
apply_filters( 'alg_wc_oma_get_cart_total_do_count_product', true, $cart_item, $type, $product_id, $do_count_by_term, $taxonomy ); -
alg_wc_oma_get_cart_value
filterapply_filters( 'alg_wc_oma_get_cart_value', $final_result, $args ); -
apply_filters( 'alg_wc_oma_get_default_message', $default_message, $min_or_max, $scope, $source, $amount_type ); -
apply_filters( 'alg_wc_oma_get_min_max_amount_data', $amount_data, $min_or_max, $amount_type, $product_id, $scope ); -
alg_wc_oma_get_notices
filterapply_filters( 'alg_wc_oma_get_notices', array( 'flat_notices' => $result, 'raw_notices' => $raw_result, 'area' => $area, 'limits' => $limits, 'types' => $types ) ); -
alg_wc_oma_is_source_message
filterapply_filters( 'alg_wc_oma_is_source_message', false, $source ); -
alg_wc_oma_msg_templates
filterapply_filters( 'alg_wc_oma_msg_templates', array( 'default' => '<div class="alg-wc-oma-msg">{content}</div>', 'in_table' => '<tr><th></th><td><div class="alg-wc-oma-msg">{content}</div></td></tr>', ) ); -
alg_wc_oma_placeholders
filterapply_filters( 'alg_wc_oma_placeholders', $placeholders, $min_or_max, $amount_type, $amount_data, $total, $diff, $product_id, $term_id ); -
alg_wc_oma_version_updated
actiondo_action( 'alg_wc_oma_version_updated' ); -
editable_roles
filterapply_filters( 'editable_roles', $roles ); -
apply_filters( "woocommerce_get_settings_{$this->id}_{$current_section}", array() );
Generated from Order Minimum/Maximum Amount Limits 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: