woocommerce_quantity_input_min_admin
woocommerce_quantity_input_min_admin
Appears in: woocommerce.5.8.0, woocommerce.6.3.1, woocommerce.6.4.1, woocommerce.6.5.1, woocommerce.6.6.1, woocommerce.6.7.0, woocommerce.6.8.0, woocommerce.6.8.1, woocommerce.6.8.2, woocommerce.6.9.0, woocommerce.6.9.4, woocommerce.7.0.0, woocommerce.7.1.0, woocommerce.7.1.1, woocommerce.7.2.2, woocommerce.7.3.0, woocommerce.7.4.0, woocommerce.7.4.1, woocommerce.7.5.1, woocommerce.7.6.0, woocommerce.7.6.1, woocommerce.7.7.0, woocommerce.7.7.1, woocommerce.7.8.1, woocommerce.7.9.0, woocommerce.8.0.3, woocommerce.8.1.1, woocommerce.8.2.1, woocommerce.8.2.2, woocommerce.8.3.1, woocommerce.8.4.0, woocommerce.8.5.1, woocommerce.8.5.2, woocommerce.8.6.0, woocommerce.8.6.1, woocommerce.8.7.0, woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3, woocommerce.9.3.1, woocommerce.9.3.3
Hook Type: filter
Displaying hooks found in version: woocommerce.9.3.3apply_filters('woocommerce_quantity_input_min_admin') is found 2 times:
- /includes/admin/meta-boxes/views/html-order-item.php line 91
* @param string $step The current minimum amount to be used in the quantity editor. * @param WC_Product $product The product that is being edited. * @param string $context The context in which the quantity editor is shown, 'edit' or 'refund'. */ $min_edit = apply_filters( 'woocommerce_quantity_input_min_admin', '0', $product, 'edit' ); $min_refund = apply_filters( 'woocommerce_quantity_input_min_admin', '0', $product, 'refund' ); ?> <div class="edit" style="display: none;"> <input type="number" step="<?php echo esc_attr( $step_edit ); ?>" min="<?php echo esc_attr( $min_edit ); ?>" autocomplete="off" name="order_item_qty[<?php echo absint( $item_id ); ?>]" placeholder="0" value="<?php echo esc_attr( $item->get_quantity() ); ?>" data-qty="<?php echo esc_attr( $item->get_quantity() ); ?>" size="4" class="quantity" /> </div> <div class="refund" style="display: none;">
- /includes/admin/meta-boxes/views/html-order-item.php line 92
* @param WC_Product $product The product that is being edited. * @param string $context The context in which the quantity editor is shown, 'edit' or 'refund'. */ $min_edit = apply_filters( 'woocommerce_quantity_input_min_admin', '0', $product, 'edit' ); $min_refund = apply_filters( 'woocommerce_quantity_input_min_admin', '0', $product, 'refund' ); ?> <div class="edit" style="display: none;"> <input type="number" step="<?php echo esc_attr( $step_edit ); ?>" min="<?php echo esc_attr( $min_edit ); ?>" autocomplete="off" name="order_item_qty[<?php echo absint( $item_id ); ?>]" placeholder="0" value="<?php echo esc_attr( $item->get_quantity() ); ?>" data-qty="<?php echo esc_attr( $item->get_quantity() ); ?>" size="4" class="quantity" /> </div> <div class="refund" style="display: none;"> <input type="number" step="<?php echo esc_attr( $step_refund ); ?>" min="<?php echo esc_attr( $min_refund ); ?>" max="<?php echo absint( $item->get_quantity() ); ?>" autocomplete="off" name="refund_order_item_qty[<?php echo absint( $item_id ); ?>]" placeholder="0" size="4" class="refund_order_item_qty" />