/** * Load the bundled item title template. * * @param WC_Bundled_Item $bundled_item * @param WC_Product_Bundle $bundle * @return void */ function wc_bundles_bundled_item_title($bundled_item, $bundle) { wc_get_template('single-product/bundled-item-title.php', array('quantity' => '', 'title' => $bundled_item->get_title(), 'optional' => $bundled_item->is_optional(), 'bundled_item' => $bundled_item, 'bundle' => $bundle), false, WC_PB()->woo_bundles_plugin_path() . '/templates/'); }