Modify the license product fields. This allows to modify the form fields for the license tab in the product editor.
Parameters:array $fields
The license product fields.
Example Usage:
<?php
add_filter( 'slswc_software_license_product_fields', function( $fields ) {
$fields['opensource_url'] = array (
'label' => __( 'Opensource URL', 'text_domain' ),
'description' => __( 'Link to opensource project for this software', 'text_domain' ),
'class' => 'short',
'field_type' => 'input',
);
return $fields;
} );