woocommerce_product_options_stock

woocommerce_product_options_stock

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_product_options_stock') is found 1 times:

  • /includes/admin/meta-boxes/views/html-product-data-inventory.php line 65
    					'description'   => __( 'Track stock quantity for this product', 'woocommerce' ),
    				)
    			);
    
    			do_action( 'woocommerce_product_options_stock' );
    
    			echo '<div class="stock_fields show_if_simple show_if_variable">';
    
    			woocommerce_wp_text_input(
    				array(
    					'id'                => '_stock',