woocommerce_quantity_input_type

woocommerce_quantity_input_type

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_quantity_input_type') is found 1 times:

  • /includes/wc-template-functions.php line 1850
    		 * @since 7.4.0
    		 *
    		 * @param string $type A valid input type attribute value, usually 'number' or 'hidden'.
    		 */
    		$args['type'] = apply_filters( 'woocommerce_quantity_input_type', $type );
    
    		ob_start();
    		wc_get_template( 'global/quantity-input.php', $args );
    
    		if ( $echo ) {
    			// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped