/** * Lists a table of attributes for the product page. * @deprecated 2.7.0 Use wc_display_product_attributes instead. */ public function list_attributes() { wc_deprecated_function('WC_Product::list_attributes', '2.7', 'wc_display_product_attributes'); wc_display_product_attributes($this); }
* maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.7.0 */ if (!defined('ABSPATH')) { exit; // Exit if accessed directly } global $product; $heading = esc_html(apply_filters('woocommerce_product_additional_information_heading', __('Additional information', 'woocommerce'))); ?> <?php if ($heading) { ?> <h2><?php echo $heading; ?> </h2> <?php } ?> <?php wc_display_product_attributes($product);