woocommerce_shipping_package_details_array

woocommerce_shipping_package_details_array

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_shipping_package_details_array') is found 1 times:

  • /includes/wc-cart-functions.php line 244
    		if ( count( $packages ) > 1 ) {
    			foreach ( $package['contents'] as $item_id => $values ) {
    				$product_names[ $item_id ] = $values['data']->get_name() . ' ×' . $values['quantity'];
    			}
    			$product_names = apply_filters( 'woocommerce_shipping_package_details_array', $product_names, $package );
    		}
    
    		wc_get_template(
    			'cart/cart-shipping.php',
    			array(
    				'package'                  => $package,