woocommerce_before_quantity_input_field
Hook to output something before the quantity input field.
Usage
add_action( 'woocommerce_before_quantity_input_field', 'wp_kama_woocommerce_before_quantity_input_field_action' ); /** * Function for `woocommerce_before_quantity_input_field` action-hook. * * @return void */ function wp_kama_woocommerce_before_quantity_input_field_action(){ // action... }
Changelog
Since 7.2.0 | Introduced. |
Where the hook is called
In file: /templates/global/quantity-input.php
woocommerce_before_quantity_input_field
woocommerce/templates/global/quantity-input.php 34
do_action( 'woocommerce_before_quantity_input_field' );