Order Minimum/Maximum Amount Limits for WooCommerce icon
eCommerce & WooCommerce

Order Minimum/Maximum Amount Limits for WooCommerce hooks reference

  • By WPFactory
  • v4.7.4
  • Updated

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.

functions.phpyour child theme
// 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

  • includes/settings/class-alg-wc-oma-settings-amounts.php line 79 · used in 26 places
    apply_filters( 'alg_wc_oma_settings', array( 'disabled' => 'disabled' ) );
  • includes/settings/class-alg-wc-oma-settings-amounts.php line 54 · used in 7 places
    apply_filters( 'alg_wc_oma_amount_input_type', 'number', 'amounts' );
  • includes/class-alg-wc-oma-core.php line 670 · used in 3 places
    apply_filters( 'alg_wc_oma_enabled_scopes', array( '' ) );
  • order-minimum-amount-for-woocommerce.php line 32
    apply_filters( 'active_plugins', (array) get_option( 'active_plugins', array() ) );
  • includes/class-alg-wc-oma-core.php line 731
    apply_filters( 'alg_wc_oma_after_get_min_max_amount_data', $amount_data, $min_or_max, $amount_type, $product_id, $scope );
  • includes/class-alg-wc-oma-messages.php line 438
    apply_filters( 'alg_wc_oma_after_get_notices', $result, $area, $limits, $types );
  • includes/class-alg-wc-oma-amount-types.php line 312
    apply_filters( 'alg_wc_oma_amount_cart_total', $result, $type, $product_id, $do_count_by_term, $taxonomy );
  • includes/class-alg-wc-oma-amount-types.php line 207
    apply_filters( 'alg_wc_oma_amount_format', $result, $value, $type );
  • includes/class-alg-wc-oma-amount-types.php line 104
    apply_filters( 'alg_wc_oma_amount_title', $result, $type );
  • includes/class-alg-wc-oma-amount-types.php line 46
    apply_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... );
  • includes/class-alg-wc-oma-amount-types.php line 146
    apply_filters( 'alg_wc_oma_amount_unit', $result, $type, $currency );
  • includes/class-alg-wc-oma-core.php line 723
    apply_filters( 'alg_wc_oma_before_get_min_max_amount_data', $amount_data, $min_or_max, $amount_type, $product_id, $scope );
  • includes/settings/class-alg-wc-oma-settings-user-roles.php line 39
    do_action( 'alg_wc_oma_before_settings_user_roles' );
  • includes/class-alg-wc-oma-core.php line 707
    apply_filters( 'alg_wc_oma_block_checkout', true );
  • includes/class-alg-wc-oma-messages.php line 90
    do_action( 'alg_wc_oma_check_notices_on_block_cart_change' );
  • includes/class-alg-wc-oma-core.php line 822
    apply_filters( 'alg_wc_oma_check_order_min_max_amount', $passed, $min_or_max, $amount_type, $amount, $total );
  • includes/class-alg-wc-oma-core.php line 32
    do_action( 'alg_wc_oma_core_loaded', $this );
  • includes/class-alg-wc-oma-core.php line 298
    apply_filters( 'alg_wc_oma_do_add_shipping_script', $do_load );
  • includes/settings/class-alg-wc-oma-settings-messages.php line 226
    apply_filters( 'alg_wc_oma_enabled_message_sources', array( '' ) );
  • includes/class-alg-wc-oma-amount-types.php line 274
    apply_filters( 'alg_wc_oma_get_cart_total_do_count_product', true, $cart_item, $type, $product_id, $do_count_by_term, $taxonomy );
  • includes/class-alg-wc-oma-amount-types.php line 417
    apply_filters( 'alg_wc_oma_get_cart_value', $final_result, $args );
  • includes/class-alg-wc-oma-messages.php line 594
    apply_filters( 'alg_wc_oma_get_default_message', $default_message, $min_or_max, $scope, $source, $amount_type );
  • includes/class-alg-wc-oma-core.php line 727
    apply_filters( 'alg_wc_oma_get_min_max_amount_data', $amount_data, $min_or_max, $amount_type, $product_id, $scope );
  • includes/class-alg-wc-oma-messages.php line 453
    apply_filters( 'alg_wc_oma_get_notices', array( 'flat_notices' => $result, 'raw_notices' => $raw_result, 'area' => $area, 'limits' => $limits, 'types' => $types ) );
  • includes/class-alg-wc-oma-messages.php line 565
    apply_filters( 'alg_wc_oma_is_source_message', false, $source );
  • includes/class-alg-wc-oma-messages.php line 489
    apply_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>', ) );
  • includes/class-alg-wc-oma-messages.php line 752
    apply_filters( 'alg_wc_oma_placeholders', $placeholders, $min_or_max, $amount_type, $amount_data, $total, $diff, $product_id, $term_id );
  • order-minimum-amount-for-woocommerce.php line 330
    do_action( 'alg_wc_oma_version_updated' );
  • includes/class-alg-wc-oma-core.php line 836
    apply_filters( 'editable_roles', $roles );
  • includes/settings/class-alg-wc-settings-oma.php line 135
    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: