Astra_Woocommerce::init_quantity_placeholder_buttons()
Initialize quantity placeholder buttons.
Description
Source
File: inc/compatibility/woocommerce/class-astra-woocommerce.php
		public function init_quantity_placeholder_buttons() {
			if ( astra_add_to_cart_quantity_btn_enabled() ) {
				add_action( 'woocommerce_before_quantity_input_field', array( $this, 'render_placeholder_minus_button' ), 5 );
				add_action( 'woocommerce_after_quantity_input_field', array( $this, 'render_placeholder_plus_button' ), 15 );
			}
		}
			Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description | 
|---|---|
| 4.11.11 | Introduced. |