woocommerce_store_api_product_quantity_{$value_type}

woocommerce_store_api_product_quantity_{$value_type}

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_store_api_product_quantity_{$value_type}') is found 1 times:

  • /src/StoreApi/Utilities/QuantityLimits.php line 210

    Warning: Undefined array key 212 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 213 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 214 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 215 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * @param \WC_Product $product The product object.
    		 * @param array|null $cart_item The cart item if the product exists in the cart, or null.
    		 * @return mixed
    		 */
    		return apply_filters( "woocommerce_store_api_product_quantity_{$value_type}", $value, $product, $cart_item );
    	}
    }