Add rows to Single product Additional information table in WooCommerce 3.6



PHP Snippet 1:

add_filter( 'woocommerce_display_product_attributes', 'custom_product_additional_information', 10, 2 );
function custom_product_additional_information( $product_attributes, $product ) {
    // First row
    $product_attributes[ 'attribute_' . 'custom-one' ] = array(
        'label' => __('Label One'),
        'value' => __('Value 1'),
    );

    // Second row
    $product_attributes[ 'attribute_' . 'custom-two' ] = array(
        'label' => __('Label Two'),
        'value' => __('Value 2'),
    );

    return $product_attributes;
}