/** * Product type options * * @access private * @since 1.6 * @return void */ function edd_render_product_type_field($post_id = 0) { $types = edd_get_download_types(); $type = edd_get_download_type($post_id); ?> <p> <strong><?php echo apply_filters('edd_product_type_options_heading', __('Product Type Options:', 'edd')); ?> </strong> </p> <p> <?php echo EDD()->html->select(array('options' => $types, 'name' => '_edd_product_type', 'id' => '_edd_product_type', 'selected' => $type, 'show_option_all' => false, 'show_option_none' => false)); ?> <label for="edd_product_type"><?php _e('Select a product type', 'edd'); ?> </label> </p> <?php }
/** * Product type options * * @access private * @since 1.6 * @return void */ function edd_render_product_type_field($post_id = 0) { $types = edd_get_download_types(); $type = edd_get_download_type($post_id); ?> <p> <strong><?php echo apply_filters('edd_product_type_options_heading', __('Product Type Options:', 'easy-digital-downloads')); ?> </strong> </p> <p> <?php echo EDD()->html->select(array('options' => $types, 'name' => '_edd_product_type', 'id' => '_edd_product_type', 'selected' => $type, 'show_option_all' => false, 'show_option_none' => false)); ?> <label for="edd_product_type"><?php _e('Select a product type', 'easy-digital-downloads'); ?> </label> <span alt="f223" class="edd-help-tip dashicons dashicons-editor-help" title="<?php _e('<strong>Product Type</strong>: Sell this item as a single product, or use the Bundle type to sell a collection of products.', 'easy-digital-downloads'); ?> "></span> </p> <?php }