Created
July 31, 2023 13:33
-
-
Save plugin-republic/6420ee6b63f74c2427f029e34755a1df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Filter the quantity input field classes in Better Variations grid | |
*/ | |
function prefix_quantity_input_classes( $classes, $product ) { | |
$classes = 'wcbvp-grid-quantity-field qty'; | |
return $classes; | |
} | |
add_filter( 'wcbvp_quantity_input_classes', 'prefix_quantity_input_classes', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment